Skip to content
Bit Quirky Behavior Trees and
State Machines

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or enter a complete API identifier.

Browse the reference instead

Esc closes · Tab reaches results · Enter opens the focused link

v0.11.0
Menu

BitQuirky.Behavior.GameObject

Public behavior trees and state machines: runtime symbols in BitQuirky.Behavior.GameObject.

Source snapshot 29003d8b1658.

Assembly: BitQuirky.Behavior.Runtime

Category: GameObject integration

C#
class BitQuirky.Behavior.GameObject.BehaviorAgent

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:20-305

Inherits: MonoBehaviour

Implements: IBehaviorLiveValueCapability

Stable serialized GameObject owner. Execution and native allocations belong to the registered, nonserialized backend; this component retains all authored references.

C#
public Unity.Collections.NativeArray<BitQuirky.Behavior.Execution.BehaviorActionRuntimeState> ActionStates { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:267

Gets the non-owning action-state view, or default before backend creation.

C#
public UnityEngine.EntityId AgentEntityId { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:232

Gets the runtime’s owner identity, or default before backend creation.

C#
public Unity.Collections.NativeArray<byte> Blackboard { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:259

Gets the non-owning blackboard byte view, or default before backend creation.

C#
public UnityEngine.MonoBehaviour[] CommandHandlerComponents { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:120-129

Gets or sets explicitly composed command handlers before initialization.

C#
public int DebugFollowerId { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:240

Gets the backend’s non-negative live-debug follower key.

C#
public BitQuirky.Behavior.Diagnostics.BehaviorDebugTickControl DebugTickControl { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:242

Gets or sets the non-owning follower-keyed pause and single-step control.

C#
public ulong ExecutableFingerprint { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:236

Gets the active executable fingerprint; zero before backend creation.

C#
public object ExecutionBackend { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:58

The nonserialized, editor-version-specific execution implementation.

C#
public BitQuirky.Behavior.Authoring.BehaviorSourceAsset Graph { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:62-71

Gets or sets the imported behavior graph before initialization.

C#
public object HostedMemberProvider { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:168-177

Gets or sets the explicitly composed consumer-owned member provider a Hosted State Machine node’s own referenced artifact resolves its member operations against (FSM-013), before initialization. Distinct fromMemberProvider: the hosted artifact is a separately authored graph with its own binding-set fingerprint, so it never resolves against the host graph’s own provider. Takes precedence over any serializedHostedMemberProviderComponent.

C#
public UnityEngine.MonoBehaviour HostedMemberProviderComponent { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:184-193

Gets or sets the explicitly composed serialized member provider component a Hosted State Machine node’s own referenced artifact resolves its member operations against (FSM-013), before initialization.

C#
public UnityEngine.MonoBehaviour[] InputBinderComponents { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:96-105

Gets or sets explicitly composed input binders before initialization.

C#
public bool IsDisposed { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:226

Gets whether the active backend has disposed its owned storage.

C#
public bool IsInitialized { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:224

Gets whether the active backend has initialized executable state.

C#
public bool IsTerminallyCancelled { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:228

Gets whether terminal cancellation currently prevents ticking.

C#
public bool LastInterruptionHasConfiguredResponse { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:253

Gets whether the last interruption had an authored response.

C#
public Unity.Collections.NativeArray<BitQuirky.Behavior.Execution.BehaviorLiveValueOverlayRuntimeState> LiveValueOverlayStates { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:261

Gets the non-owning live-value overlay view, or default before backend creation.

C#
public BitQuirky.Behavior.Blackboard.BehaviorManagedBlackboardTemplate ManagedBlackboard { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:210

Gets the backend-owned agent-local managed companion, or null before creation.

C#
public BitQuirky.Behavior.Blackboard.BehaviorManagedBlackboardTemplate ManagedBlackboardTemplate { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:208

Gets the graph’s shared managed template, or null when no graph is assigned.

C#
public BitQuirky.Behavior.Diagnostics.BehaviorMemberFaultTrace MemberFaultTrace { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:212

Gets the active member fault trace, or null before backend creation.

C#
public object MemberProvider { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:135-144

Gets or sets the explicitly composed consumer-owned member provider before initialization. Takes precedence over any serialized provider component.

C#
public UnityEngine.MonoBehaviour MemberProviderComponent { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:149-158

Gets or sets the explicitly composed serialized member component before initialization.

C#
public ulong MemberProviderFingerprint { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:238

Gets the active generated member-provider fingerprint; zero before backend creation.

C#
public BitQuirky.Behavior.Member.BehaviorMemberReference[] MemberReferences { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:196-205

Gets or sets the serialized explicit member reference slots before initialization.

C#
public int MemberTargetReadingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:216

Gets the available dense target-reading count; zero before backend creation.

C#
public UnityEngine.MonoBehaviour MovementAdapterComponent { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:84-93

Gets or sets the explicitly composed component implementing IBehaviorMovementAdapterbefore initialization.

C#
public Unity.Collections.NativeArray<BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus> NodeExecutionStatuses { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:265

Gets the non-owning node execution status view, or default before backend creation.

C#
public Unity.Collections.NativeArray<BitQuirky.Behavior.Execution.ReactiveConditionRuntimeState> ReactiveConditionStates { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:263

Gets the non-owning reactive-condition view, or default before backend creation.

C#
public int RefEvaluationReadingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:220

Gets the retained Ref evaluation count; zero before backend creation.

C#
public BitQuirky.Behavior.Execution.BehaviorMachineResult Result { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:257

Gets the machine result, or default before backend creation.

C#
public uint RuntimeGeneration { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:234

Gets the active runtime generation; zero before backend creation.

C#
public UnityEngine.MonoBehaviour[] ServiceAdapterComponents { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:108-117

Gets or sets explicitly composed general service adapters.

C#
public Unity.Collections.NativeArray<BitQuirky.Behavior.Execution.BehaviorStateSuspensionFrame> SuspensionFrames { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:271

Gets the non-owning suspended-state frame view, or default before backend creation.

C#
public long TickCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:230

Gets the completed tick count; zero before backend creation.

C#
public int UnresolvedMemberTargetCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:214

Gets the count of unresolved targets; zero before backend creation.

C#
public BitQuirky.Behavior.GameObject.BehaviorAgentUpdateMode UpdateMode { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:74-78

Gets or sets the one Unity callback that advances this agent.

C#
public Unity.Collections.NativeArray<BitQuirky.Behavior.Diagnostics.BehaviorUtilityBranchScore> UtilityBranchScores { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:269

Gets the non-owning utility score view, or default before backend creation.

C#
public event System.Action<int> InterruptionResponseTriggered

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:247-251

Reports a triggered interruption response’s baked node index.

C#
public void CancelActiveWork(int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:293

Cancels active work at the supplied frame and prevents ticks until reset.

C#
public string GetAuthoredNodeId(int nodeIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:255

Gets the authored node id, or an empty string before backend creation.

C#
public void InitializeNow()

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:289

Initializes execution from the configured graph and bindings.

C#
public BitQuirky.Behavior.Member.BehaviorMemberTargetReading ReadMemberTargetReading(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:218

Reads a dense target inspection entry, or default before backend creation.

C#
public BitQuirky.Behavior.Member.BehaviorMemberRefEvaluationReading ReadRefEvaluation(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:222

Reads a retained Ref evaluation, or default before backend creation.

ReplaceGraph(BehaviorSourceAsset graph, int frameNumber)

Section titled “ReplaceGraph(BehaviorSourceAsset graph, int frameNumber)”
C#
public void ReplaceGraph(BitQuirky.Behavior.Authoring.BehaviorSourceAsset graph, int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:291

Replaces the graph and rebuilds runtime state at the supplied frame boundary.

C#
public void ResetRuntime(int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:295

Resets execution and active work at the supplied frame boundary.

SubmitLiveValueEdit(in BehaviorLiveValueEditRequest request)

Section titled “SubmitLiveValueEdit(in BehaviorLiveValueEditRequest request)”
C#
public BitQuirky.Behavior.Member.BehaviorLiveValueEditResult SubmitLiveValueEdit(in BitQuirky.Behavior.Member.BehaviorLiveValueEditRequest request)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:244-245

Submits a live edit, refusing it as unavailable before backend creation.

TickManual(float deltaTime, int frameNumber)

Section titled “TickManual(float deltaTime, int frameNumber)”
C#
public void TickManual(float deltaTime, int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:297

Ticks a manually configured agent with the supplied elapsed seconds and frame.

TickOnce(float deltaTime, int frameNumber)

Section titled “TickOnce(float deltaTime, int frameNumber)”
C#
public BitQuirky.Behavior.Execution.BehaviorTickStepResult TickOnce(float deltaTime, int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:299

Runs one explicit tick and returns the shared kernel’s step result.

TryReadReferenceState(int referenceIndex, out BehaviorReferenceRuntimeState state)

Section titled “TryReadReferenceState(int referenceIndex, out BehaviorReferenceRuntimeState state)”
C#
public bool TryReadReferenceState(int referenceIndex, out BitQuirky.Behavior.Execution.BehaviorReferenceRuntimeState state)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:283-287

Reads retained reference state; returns false before backend creation.

Category: GameObject integration

C#
enum BitQuirky.Behavior.GameObject.BehaviorAgentUpdateMode

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgentUpdateMode.cs:16-30

Underlying type: byte

Unity callback selected for one GameObject behavior agent.

Responsibilities:

  • Select exactly one automatic Unity advancement callback, or none when the agent is advanced only through an explicit external call to TickManual.

Does NOT:

  • Change behavior semantics.

C#
FixedUpdate = 1

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgentUpdateMode.cs:22

Advance once from each enabled fixed-step callback.

C#
Manual = 2

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgentUpdateMode.cs:29

Advance only through an explicit external call to TickManual; neither Updatenor FixedUpdateadvances this agent while this mode is selected.

C#
Update = 0

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgentUpdateMode.cs:19

Advance once from each enabled frame callback.

BehaviorGameObjectBlackboardFieldHandle<T>

Section titled “BehaviorGameObjectBlackboardFieldHandle<T>”

Category: GameObject integration

C#
readonly struct BitQuirky.Behavior.GameObject.BehaviorGameObjectBlackboardFieldHandle<T> where T : unmanaged

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorGameObjectBlackboardSchema.cs:20-58

Resolved type-safe blackboard field location for a GameObject input binder.

Responsibilities:

  • Write one validated unmanaged value without per-step name lookup or byte arithmetic.

Does NOT:

  • Own blackboard storage or resolve fields during a selected step.

C#
public bool IsValid { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorGameObjectBlackboardSchema.cs:34

Gets whether this handle was resolved from a compatible baked field.

Write(NativeArray<byte> blackboard, T value)

Section titled “Write(NativeArray<byte> blackboard, T value)”
C#
public void Write(Unity.Collections.NativeArray<byte> blackboard, T value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorGameObjectBlackboardSchema.cs:37-57

Writes one typed value to the resolved blackboard location.

Category: GameObject integration

C#
class BitQuirky.Behavior.GameObject.BehaviorGameObjectBlackboardSchema

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorGameObjectBlackboardSchema.cs:70-156

Resolves and records exact GameObject blackboard input ownership during composition.

Responsibilities:

  • Validate stable field name, baked type, unmanaged storage size, and unique ownership.
  • Return typed handles that write without name lookup during a selected step.

Does NOT:

  • Sample scene state, mutate live blackboard bytes, or select a fallback field.

C#
public BitQuirky.Behavior.GameObject.BehaviorGameObjectBlackboardFieldHandle<T> Require<T>(string fieldName) where T : unmanaged

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorGameObjectBlackboardSchema.cs:95-128

Resolves a required field and validates its baked type and size.

Category: GameObject integration

C#
class BitQuirky.Behavior.GameObject.BehaviorRuntimeBackend

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:102-121

Registration seam; the stable owner never references a versioned assembly.

Register(Func<BehaviorAgent, IBehaviorAgentBackend> factory)

Section titled “Register(Func<BehaviorAgent, IBehaviorAgentBackend> factory)”
C#
public static void Register(System.Func<BitQuirky.Behavior.GameObject.BehaviorAgent, BitQuirky.Behavior.GameObject.IBehaviorAgentBackend> factory)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:108-111

Installs the compatible backend factory before an agent requests execution.

Category: GameObject integration

C#
class BitQuirky.Behavior.GameObject.BehaviorSharedNumericInputBinder

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorSharedNumericInputBinder.cs:27-96

Inherits: MonoBehaviour

Implements: IBehaviorGameObjectInputBinder

Caches one explicitly injected shared numeric source into a GameObject agent’s blackboard before every tick.

Responsibilities:

  • Subscribe to the injected source once atConfigureand cache its current value, so a sample never calls back into the source.
  • Write the cached value into the resolved blackboard field before every sample.
  • Unsubscribe from the source when the component is destroyed.
  • Expose the bound field name, the source’s shared identity and current cached value, and forward an edit-through write to the backing source, for the selected running graph’s debugger.

Does NOT:

  • Own the source’s identity or lifetime, or decide when an edit-through is offered; that is the debugger’s decision.

C#
public float CurrentValue { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorSharedNumericInputBinder.cs:62

Gets the most recently cached current value.

C#
public string FieldName { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorSharedNumericInputBinder.cs:56

Gets the blackboard field this binder writes.

C#
public string SharedName { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorSharedNumericInputBinder.cs:59

Gets the injected source’s shared identity, or empty when unconfigured.

Bind(BehaviorGameObjectBlackboardSchema schema)

Section titled “Bind(BehaviorGameObjectBlackboardSchema schema)”
C#
public void Bind(BitQuirky.Behavior.GameObject.BehaviorGameObjectBlackboardSchema schema)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorSharedNumericInputBinder.cs:71-78

Resolves every field owned by this binder during agent composition.

Configure(string fieldName, IBehaviorSharedNumericSource source)

Section titled “Configure(string fieldName, IBehaviorSharedNumericSource source)”
C#
public void Configure(string fieldName, BitQuirky.Behavior.ExternalService.IBehaviorSharedNumericSource source)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorSharedNumericInputBinder.cs:43-53

Wires this binder to the named blackboard field and its explicitly injected shared numeric source. Call once before agent composition.

C#
public void EditValue(float value)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorSharedNumericInputBinder.cs:68

Writesvaluethrough to the backing source. A no-op before Configureis called.

C#
public void Sample(Unity.Collections.NativeArray<byte> blackboard)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorSharedNumericInputBinder.cs:81-84

Samples current facts into the supplied blackboard before a tick.

Category: GameObject integration

C#
interface BitQuirky.Behavior.GameObject.IBehaviorAgentBackend

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:15-99

Implements: IBehaviorLiveValueCapability

Portable execution lifecycle implemented by the selected native backend.

C#
Unity.Collections.NativeArray<BitQuirky.Behavior.Execution.BehaviorActionRuntimeState> ActionStates { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:66

Gets the non-owning per-action runtime state view.

C#
UnityEngine.EntityId AgentEntityId { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:40

Gets the stable Unity identity of the owning agent.

C#
Unity.Collections.NativeArray<byte> Blackboard { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:58

Gets the non-owning view of the runtime’s blackboard bytes.

C#
int DebugFollowerId { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:48

Gets the non-negative follower key used by live debugging.

C#
ulong ExecutableFingerprint { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:44

Gets the fingerprint of the active executable artifact.

C#
bool IsDisposed { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:34

Gets whether owned runtime storage has been released.

C#
bool IsInitialized { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:32

Gets whether executable runtime state has been created.

C#
bool IsTerminallyCancelled { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:36

Gets whether cancellation prevents further ticks until reset.

C#
bool LastInterruptionHasConfiguredResponse { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:52

Gets whether the most recent interruption had an authored response.

C#
Unity.Collections.NativeArray<BitQuirky.Behavior.Execution.BehaviorLiveValueOverlayRuntimeState> LiveValueOverlayStates { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:60

Gets the non-owning live-value overlay state view.

C#
BitQuirky.Behavior.Blackboard.BehaviorManagedBlackboardTemplate ManagedBlackboard { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:18

Gets the agent-local managed companion, owned and disposed by this backend.

C#
BitQuirky.Behavior.Diagnostics.BehaviorMemberFaultTrace MemberFaultTrace { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:20

Gets the member dispatch fault trace for this runtime.

C#
ulong MemberProviderFingerprint { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:46

Gets the fingerprint of the active generated member provider.

C#
int MemberTargetReadingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:24

Gets the number of target readings exposed to inspection.

C#
Unity.Collections.NativeArray<BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus> NodeExecutionStatuses { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:64

Gets the non-owning per-node execution status view.

C#
Unity.Collections.NativeArray<BitQuirky.Behavior.Execution.ReactiveConditionRuntimeState> ReactiveConditionStates { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:62

Gets the non-owning reactive-condition state view.

C#
int RefEvaluationReadingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:28

Gets the number of retained Ref evaluation readings.

C#
BitQuirky.Behavior.Execution.BehaviorMachineResult Result { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:56

Gets the current machine result.

C#
uint RuntimeGeneration { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:42

Gets the generation used to reject stale live-runtime observations.

C#
Unity.Collections.NativeArray<BitQuirky.Behavior.Execution.BehaviorStateSuspensionFrame> SuspensionFrames { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:70

Gets the non-owning suspended-state frame view.

C#
long TickCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:38

Gets the number of completed ticks for this runtime.

C#
int UnresolvedMemberTargetCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:22

Gets the number of member targets currently unresolved.

C#
Unity.Collections.NativeArray<BitQuirky.Behavior.Diagnostics.BehaviorUtilityBranchScore> UtilityBranchScores { get; }

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:68

Gets the non-owning utility-branch score view.

C#
event System.Action<int> InterruptionResponseTriggered

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:50

Reports the triggering baked node index when an interruption response runs.

C#
void CancelActiveWork(int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:82

Cancels active work at the supplied frame and prevents further ticks until reset.

C#
void FixedUpdate()

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:98

Receives the owner’s FixedUpdate callback for its configured tick schedule.

C#
string GetAuthoredNodeId(int nodeIndex)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:54

Resolves a baked node index to its authored node id.

C#
void InitializeNow()

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:78

Creates executable state from the owner’s configured graph and bindings.

C#
void OnDestroy()

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:94

Releases owned state when the stable owner is destroyed.

C#
void OnDisable()

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:92

Receives the stable owner’s disable callback.

C#
void OnEnable()

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:90

Receives the stable owner’s enable callback.

C#
BitQuirky.Behavior.Member.BehaviorMemberTargetReading ReadMemberTargetReading(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:26

Reads one inspection entry by its dense target index.

C#
BitQuirky.Behavior.Member.BehaviorMemberRefEvaluationReading ReadRefEvaluation(int index)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:30

Reads one retained Ref evaluation by its dense index.

ReplaceGraph(BehaviorSourceAsset graph, int frameNumber)

Section titled “ReplaceGraph(BehaviorSourceAsset graph, int frameNumber)”
C#
void ReplaceGraph(BitQuirky.Behavior.Authoring.BehaviorSourceAsset graph, int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:80

Replaces the graph at the supplied frame boundary and rebuilds owned state.

C#
void ResetRuntime(int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:84

Resets execution and active work at the supplied frame boundary.

TickManual(float deltaTime, int frameNumber)

Section titled “TickManual(float deltaTime, int frameNumber)”
C#
void TickManual(float deltaTime, int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:86

Ticks a manually configured agent using the supplied elapsed seconds and frame.

TickOnce(float deltaTime, int frameNumber)

Section titled “TickOnce(float deltaTime, int frameNumber)”
C#
BitQuirky.Behavior.Execution.BehaviorTickStepResult TickOnce(float deltaTime, int frameNumber)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:88

Runs one explicit tick and returns the shared kernel’s step result.

TryReadProbabilityState(int nodeIndex, out BehaviorProbabilityRuntimeState state)

Section titled “TryReadProbabilityState(int nodeIndex, out BehaviorProbabilityRuntimeState state)”
C#
bool TryReadProbabilityState(int nodeIndex, out BitQuirky.Behavior.Execution.BehaviorProbabilityRuntimeState state)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:74

Reads the active Probability Selector state when the node has runtime storage.

TryReadReferenceState(int referenceIndex, out BehaviorReferenceRuntimeState state)

Section titled “TryReadReferenceState(int referenceIndex, out BehaviorReferenceRuntimeState state)”
C#
bool TryReadReferenceState(int referenceIndex, out BitQuirky.Behavior.Execution.BehaviorReferenceRuntimeState state)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:76

Reads retained reference state when the reference index exists.

TryReadRepeatState(int nodeIndex, out BehaviorRepeatRuntimeState state)

Section titled “TryReadRepeatState(int nodeIndex, out BehaviorRepeatRuntimeState state)”
C#
bool TryReadRepeatState(int nodeIndex, out BitQuirky.Behavior.Execution.BehaviorRepeatRuntimeState state)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:72

Reads the active Repeat state when the node has runtime storage.

C#
void Update()

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:96

Receives the owner’s Update callback for its configured tick schedule.

Category: GameObject integration

C#
interface BitQuirky.Behavior.GameObject.IBehaviorGameObjectInputBinder

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorGameObjectInputBinder.cs:16-23

Explicit GameObject fact binder invoked before each selected behavior tick.

Responsibilities:

  • Resolve required typed fields once and sample current facts allocation-free per step.

Does NOT:

  • Tick behavior, dispatch commands, or discover scene dependencies.

Bind(BehaviorGameObjectBlackboardSchema schema)

Section titled “Bind(BehaviorGameObjectBlackboardSchema schema)”
C#
void Bind(BitQuirky.Behavior.GameObject.BehaviorGameObjectBlackboardSchema schema)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorGameObjectInputBinder.cs:19

Resolves every field owned by this binder during agent composition.

C#
void Sample(Unity.Collections.NativeArray<byte> blackboard)

Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorGameObjectInputBinder.cs:22

Samples current facts into the supplied blackboard before a tick.

Source fingerprint: sha256:29003d8b1658b98a79bebcd93e3b4030caf8511268b96817ab764d63df8d6c3b

Full-size image