BitQuirky.Behavior.GameObject
Public behavior trees and state machines: runtime symbols in BitQuirky.Behavior.GameObject.
Source snapshot 29003d8b1658.
On this page
Assembly: BitQuirky.Behavior.Runtime
BehaviorAgent
Section titled “BehaviorAgent”Category: GameObject integration
class BitQuirky.Behavior.GameObject.BehaviorAgentSource 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.
Members
Section titled “Members”ActionStates
Section titled “ActionStates”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.
AgentEntityId
Section titled “AgentEntityId”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.
Blackboard
Section titled “Blackboard”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.
CommandHandlerComponents
Section titled “CommandHandlerComponents”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.
DebugFollowerId
Section titled “DebugFollowerId”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.
DebugTickControl
Section titled “DebugTickControl”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.
ExecutableFingerprint
Section titled “ExecutableFingerprint”public ulong ExecutableFingerprint { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:236
Gets the active executable fingerprint; zero before backend creation.
ExecutionBackend
Section titled “ExecutionBackend”public object ExecutionBackend { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:58
The nonserialized, editor-version-specific execution implementation.
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.
HostedMemberProvider
Section titled “HostedMemberProvider”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.
HostedMemberProviderComponent
Section titled “HostedMemberProviderComponent”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.
InputBinderComponents
Section titled “InputBinderComponents”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.
IsDisposed
Section titled “IsDisposed”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.
IsInitialized
Section titled “IsInitialized”public bool IsInitialized { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:224
Gets whether the active backend has initialized executable state.
IsTerminallyCancelled
Section titled “IsTerminallyCancelled”public bool IsTerminallyCancelled { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:228
Gets whether terminal cancellation currently prevents ticking.
LastInterruptionHasConfiguredResponse
Section titled “LastInterruptionHasConfiguredResponse”public bool LastInterruptionHasConfiguredResponse { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:253
Gets whether the last interruption had an authored response.
LiveValueOverlayStates
Section titled “LiveValueOverlayStates”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.
ManagedBlackboard
Section titled “ManagedBlackboard”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.
ManagedBlackboardTemplate
Section titled “ManagedBlackboardTemplate”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.
MemberFaultTrace
Section titled “MemberFaultTrace”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.
MemberProvider
Section titled “MemberProvider”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.
MemberProviderComponent
Section titled “MemberProviderComponent”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.
MemberProviderFingerprint
Section titled “MemberProviderFingerprint”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.
MemberReferences
Section titled “MemberReferences”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.
MemberTargetReadingCount
Section titled “MemberTargetReadingCount”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.
MovementAdapterComponent
Section titled “MovementAdapterComponent”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.
NodeExecutionStatuses
Section titled “NodeExecutionStatuses”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.
ReactiveConditionStates
Section titled “ReactiveConditionStates”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.
RefEvaluationReadingCount
Section titled “RefEvaluationReadingCount”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.
Result
Section titled “Result”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.
RuntimeGeneration
Section titled “RuntimeGeneration”public uint RuntimeGeneration { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:234
Gets the active runtime generation; zero before backend creation.
ServiceAdapterComponents
Section titled “ServiceAdapterComponents”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.
SuspensionFrames
Section titled “SuspensionFrames”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.
TickCount
Section titled “TickCount”public long TickCount { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:230
Gets the completed tick count; zero before backend creation.
UnresolvedMemberTargetCount
Section titled “UnresolvedMemberTargetCount”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.
UpdateMode
Section titled “UpdateMode”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.
UtilityBranchScores
Section titled “UtilityBranchScores”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.
InterruptionResponseTriggered
Section titled “InterruptionResponseTriggered”public event System.Action<int> InterruptionResponseTriggeredSource declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:247-251
Reports a triggered interruption response’s baked node index.
CancelActiveWork(int frameNumber)
Section titled “CancelActiveWork(int frameNumber)”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.
GetAuthoredNodeId(int nodeIndex)
Section titled “GetAuthoredNodeId(int nodeIndex)”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.
InitializeNow()
Section titled “InitializeNow()”public void InitializeNow()Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgent.cs:289
Initializes execution from the configured graph and bindings.
ReadMemberTargetReading(int index)
Section titled “ReadMemberTargetReading(int index)”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.
ReadRefEvaluation(int index)
Section titled “ReadRefEvaluation(int index)”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)”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.
ResetRuntime(int frameNumber)
Section titled “ResetRuntime(int frameNumber)”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)”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)”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)”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)”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.
BehaviorAgentUpdateMode
Section titled “BehaviorAgentUpdateMode”Category: GameObject integration
enum BitQuirky.Behavior.GameObject.BehaviorAgentUpdateModeSource 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.
Members
Section titled “Members”FixedUpdate
Section titled “FixedUpdate”FixedUpdate = 1Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorAgentUpdateMode.cs:22
Advance once from each enabled fixed-step callback.
Manual
Section titled “Manual”Manual = 2Source 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.
Update
Section titled “Update”Update = 0Source 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
readonly struct BitQuirky.Behavior.GameObject.BehaviorGameObjectBlackboardFieldHandle<T> where T : unmanagedSource 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.
Members
Section titled “Members”IsValid
Section titled “IsValid”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)”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.
BehaviorGameObjectBlackboardSchema
Section titled “BehaviorGameObjectBlackboardSchema”Category: GameObject integration
class BitQuirky.Behavior.GameObject.BehaviorGameObjectBlackboardSchemaSource 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.
Members
Section titled “Members”Require<T>(string fieldName)
Section titled “Require<T>(string fieldName)”public BitQuirky.Behavior.GameObject.BehaviorGameObjectBlackboardFieldHandle<T> Require<T>(string fieldName) where T : unmanagedSource declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorGameObjectBlackboardSchema.cs:95-128
Resolves a required field and validates its baked type and size.
BehaviorRuntimeBackend
Section titled “BehaviorRuntimeBackend”Category: GameObject integration
class BitQuirky.Behavior.GameObject.BehaviorRuntimeBackendSource declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:102-121
Registration seam; the stable owner never references a versioned assembly.
Members
Section titled “Members”Register(Func<BehaviorAgent, IBehaviorAgentBackend> factory)
Section titled “Register(Func<BehaviorAgent, IBehaviorAgentBackend> factory)”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.
BehaviorSharedNumericInputBinder
Section titled “BehaviorSharedNumericInputBinder”Category: GameObject integration
class BitQuirky.Behavior.GameObject.BehaviorSharedNumericInputBinderSource 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.
Members
Section titled “Members”CurrentValue
Section titled “CurrentValue”public float CurrentValue { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorSharedNumericInputBinder.cs:62
Gets the most recently cached current value.
FieldName
Section titled “FieldName”public string FieldName { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/BehaviorSharedNumericInputBinder.cs:56
Gets the blackboard field this binder writes.
SharedName
Section titled “SharedName”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)”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)”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.
EditValue(float value)
Section titled “EditValue(float value)”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.
Sample(NativeArray<byte> blackboard)
Section titled “Sample(NativeArray<byte> blackboard)”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.
IBehaviorAgentBackend
Section titled “IBehaviorAgentBackend”Category: GameObject integration
interface BitQuirky.Behavior.GameObject.IBehaviorAgentBackendSource declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:15-99
Implements: IBehaviorLiveValueCapability
Portable execution lifecycle implemented by the selected native backend.
Members
Section titled “Members”ActionStates
Section titled “ActionStates”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.
AgentEntityId
Section titled “AgentEntityId”UnityEngine.EntityId AgentEntityId { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:40
Gets the stable Unity identity of the owning agent.
Blackboard
Section titled “Blackboard”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.
DebugFollowerId
Section titled “DebugFollowerId”int DebugFollowerId { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:48
Gets the non-negative follower key used by live debugging.
ExecutableFingerprint
Section titled “ExecutableFingerprint”ulong ExecutableFingerprint { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:44
Gets the fingerprint of the active executable artifact.
IsDisposed
Section titled “IsDisposed”bool IsDisposed { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:34
Gets whether owned runtime storage has been released.
IsInitialized
Section titled “IsInitialized”bool IsInitialized { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:32
Gets whether executable runtime state has been created.
IsTerminallyCancelled
Section titled “IsTerminallyCancelled”bool IsTerminallyCancelled { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:36
Gets whether cancellation prevents further ticks until reset.
LastInterruptionHasConfiguredResponse
Section titled “LastInterruptionHasConfiguredResponse”bool LastInterruptionHasConfiguredResponse { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:52
Gets whether the most recent interruption had an authored response.
LiveValueOverlayStates
Section titled “LiveValueOverlayStates”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.
ManagedBlackboard
Section titled “ManagedBlackboard”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.
MemberFaultTrace
Section titled “MemberFaultTrace”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.
MemberProviderFingerprint
Section titled “MemberProviderFingerprint”ulong MemberProviderFingerprint { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:46
Gets the fingerprint of the active generated member provider.
MemberTargetReadingCount
Section titled “MemberTargetReadingCount”int MemberTargetReadingCount { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:24
Gets the number of target readings exposed to inspection.
NodeExecutionStatuses
Section titled “NodeExecutionStatuses”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.
ReactiveConditionStates
Section titled “ReactiveConditionStates”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.
RefEvaluationReadingCount
Section titled “RefEvaluationReadingCount”int RefEvaluationReadingCount { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:28
Gets the number of retained Ref evaluation readings.
Result
Section titled “Result”BitQuirky.Behavior.Execution.BehaviorMachineResult Result { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:56
Gets the current machine result.
RuntimeGeneration
Section titled “RuntimeGeneration”uint RuntimeGeneration { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:42
Gets the generation used to reject stale live-runtime observations.
SuspensionFrames
Section titled “SuspensionFrames”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.
TickCount
Section titled “TickCount”long TickCount { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:38
Gets the number of completed ticks for this runtime.
UnresolvedMemberTargetCount
Section titled “UnresolvedMemberTargetCount”int UnresolvedMemberTargetCount { get; }Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:22
Gets the number of member targets currently unresolved.
UtilityBranchScores
Section titled “UtilityBranchScores”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.
InterruptionResponseTriggered
Section titled “InterruptionResponseTriggered”event System.Action<int> InterruptionResponseTriggeredSource declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:50
Reports the triggering baked node index when an interruption response runs.
CancelActiveWork(int frameNumber)
Section titled “CancelActiveWork(int frameNumber)”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.
FixedUpdate()
Section titled “FixedUpdate()”void FixedUpdate()Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:98
Receives the owner’s FixedUpdate callback for its configured tick schedule.
GetAuthoredNodeId(int nodeIndex)
Section titled “GetAuthoredNodeId(int nodeIndex)”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.
InitializeNow()
Section titled “InitializeNow()”void InitializeNow()Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:78
Creates executable state from the owner’s configured graph and bindings.
OnDestroy()
Section titled “OnDestroy()”void OnDestroy()Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:94
Releases owned state when the stable owner is destroyed.
OnDisable()
Section titled “OnDisable()”void OnDisable()Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:92
Receives the stable owner’s disable callback.
OnEnable()
Section titled “OnEnable()”void OnEnable()Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:90
Receives the stable owner’s enable callback.
ReadMemberTargetReading(int index)
Section titled “ReadMemberTargetReading(int index)”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.
ReadRefEvaluation(int index)
Section titled “ReadRefEvaluation(int index)”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)”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.
ResetRuntime(int frameNumber)
Section titled “ResetRuntime(int frameNumber)”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)”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)”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)”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)”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)”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.
Update()
Section titled “Update()”void Update()Source declaration: Packages/io.bitquirky.behavior/Runtime/GameObject/IBehaviorAgentBackend.cs:96
Receives the owner’s Update callback for its configured tick schedule.
IBehaviorGameObjectInputBinder
Section titled “IBehaviorGameObjectInputBinder”Category: GameObject integration
interface BitQuirky.Behavior.GameObject.IBehaviorGameObjectInputBinderSource 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.
Members
Section titled “Members”Bind(BehaviorGameObjectBlackboardSchema schema)
Section titled “Bind(BehaviorGameObjectBlackboardSchema schema)”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.
Sample(NativeArray<byte> blackboard)
Section titled “Sample(NativeArray<byte> blackboard)”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