BitQuirky.Behavior.Editor
Public behavior trees and state machines: editor backend symbols in BitQuirky.Behavior.Editor.
Source snapshot 29003d8b1658.
On this page
Assembly: BitQuirky.Behavior.Editor.Backend
ActionRow
Section titled “ActionRow”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ActionRowSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:101-137
One ordered action row in a selected state or Live state card.
Members
Section titled “Members”public readonly string IdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:104
Authored id of the action.
public readonly BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ActionRowIssue IssueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:112
How the action blocks its machine, if at all.
IssueText
Section titled “IssueText”public readonly string IssueTextSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:114
Author-facing explanation of the issue, and the empty string when there is none.
public readonly string NameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:106
Authored name shown in the row.
public readonly string PhaseSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:110
Lifecycle phase token the action belongs to; an empty phase becomes Update.
Status
Section titled “Status”public readonly BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus StatusSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:108
Runtime execution status of the action, and Resting outside Live.
ActionRow(string id, string name, BehaviorNodeExecutionStatus status, string phase, BehaviorTreeStateMachineInspector.ActionRowIssue issue, string issueText)
Section titled “ActionRow(string id, string name, BehaviorNodeExecutionStatus status, string phase, BehaviorTreeStateMachineInspector.ActionRowIssue issue, string issueText)”public ActionRow(string id, string name, BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus status = Resting, string phase = null, BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ActionRowIssue issue = None, string issueText = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:122-136
Captures one action row. An emptyphase
becomes the Update lifecycle group and a null
issueTextbecomes the empty string, so the
row never has to test for null.
ActionRowIssue
Section titled “ActionRowIssue”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ActionRowIssueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:140-150
Underlying type: int
How one authored action row blocks its machine, if at all.
Members
Section titled “Members”Broken
Section titled “Broken”Broken = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:149
The saved behavior reference does not resolve.
Invalid
Section titled “Invalid”Invalid = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:146
The authored value is kept verbatim but incomplete.
None = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:143
The row resolves and bakes.
BehaviorAgentMemberTargetReadingSource
Section titled “BehaviorAgentMemberTargetReadingSource”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorAgentMemberTargetReadingSourceSource declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:187-223
Implements: IBehaviorMemberTargetReadingSource, IBehaviorMemberRefEvaluationSource
Editor adapter that exposes the live member-target readings owned by a BehaviorAgentwithout requiring an existing debugger binding to change.
Responsibilities:
- Forward the agent’s unresolved count and indexed readings to the live editor window.
- Keep the optional reading capability separate from the existing debugger binding API.
Does NOT:
- Own, cache, format, or persist readings, or participate in runtime execution.
Members
Section titled “Members”MemberTargetReadingCount
Section titled “MemberTargetReadingCount”public int MemberTargetReadingCount { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:205
Gets the number of live member target readings available.
RefEvaluationReadingCount
Section titled “RefEvaluationReadingCount”public int RefEvaluationReadingCount { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:215
Gets the number of live ref-parameter evaluation readings available.
UnresolvedMemberTargetCount
Section titled “UnresolvedMemberTargetCount”public int UnresolvedMemberTargetCount { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:202
Gets how many member targets did not resolve on their last evaluation.
BehaviorAgentMemberTargetReadingSource(BehaviorAgent agent)
Section titled “BehaviorAgentMemberTargetReadingSource(BehaviorAgent agent)”public BehaviorAgentMemberTargetReadingSource(BitQuirky.Behavior.GameObject.BehaviorAgent agent)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:194-199
Creates a reading source over one explicitly supplied agent.
ReadMemberTargetReading(int index)
Section titled “ReadMemberTargetReading(int index)”public BitQuirky.Behavior.Member.BehaviorMemberTargetReading ReadMemberTargetReading(int index)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:208-212
Reads one live member target reading by index.
ReadRefEvaluation(int index)
Section titled “ReadRefEvaluation(int index)”public BitQuirky.Behavior.Member.BehaviorMemberRefEvaluationReading ReadRefEvaluation(int index)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:218-222
Reads one live ref-parameter evaluation reading by index.
BehaviorBlackboardFieldSnapshot
Section titled “BehaviorBlackboardFieldSnapshot”Category: Low-level runtime
struct BitQuirky.Behavior.Editor.BehaviorBlackboardFieldSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:54-78
Snapshot of one live blackboard slot surfaced in the debugger’s Blackboard panel.
Responsibilities:
- Mirror the runtime slot layout enough for the panel to render the row (name, type, owner, value).
- Remain a value-type with no behavior.
Does NOT:
- Encode the editing intent. The Blackboard literal editor reads the snapshot, then dispatches an edit command separately.
Members
Section titled “Members”DisplayValue
Section titled “DisplayValue”public string DisplayValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:65
Current value already formatted for display.
FieldName
Section titled “FieldName”public string FieldNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:59
Author-facing field name.
FieldNameInternedIndex
Section titled “FieldNameInternedIndex”public int FieldNameInternedIndexSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:57
Interned-name index of the field in the baked artifact.
FullDisplayValue
Section titled “FullDisplayValue”public string FullDisplayValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:71
The complete reading whenDisplayValueabbreviates it – a list or array with more elements than the reading shows, stated with every element; empty when DisplayValueis already complete.
IsNonValue
Section titled “IsNonValue”public bool IsNonValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:77
WhetherDisplayValueholds no value – the none token,
missing (Type), or a stated reading such as (type not loaded)– so the
panel paints it in the quiet non-value ink instead of the ink a value reads in.
OwnerAuthority
Section titled “OwnerAuthority”public BitQuirky.Behavior.Baked.BakedAuthorityContext OwnerAuthoritySource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:63
Authority context that owns the field.
TypeCode
Section titled “TypeCode”public BitQuirky.Behavior.Baked.BakedFieldTypeCode TypeCodeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:61
Baked storage type of the field.
BehaviorBlackboardValueEditKind
Section titled “BehaviorBlackboardValueEditKind”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditKindSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:21-58
Underlying type: int
The structural edits a collection or instance control can ask for.
Members
Section titled “Members”AddEntry
Section titled “AddEntry”AddEntry = 8Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:48
Append one dictionary entry after every authored entry.
InsertElement
Section titled “InsertElement”InsertElement = 2Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:30
Insert one element at an exact authored position.
InsertEntry
Section titled “InsertEntry”InsertEntry = 9Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:51
Insert one dictionary entry at an exact authored position.
MoveElement
Section titled “MoveElement”MoveElement = 4Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:36
Move one element to a new authored position.
RemoveElement
Section titled “RemoveElement”RemoveElement = 3Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:33
Remove one element, keeping the order of the rest.
RemoveEntry
Section titled “RemoveEntry”RemoveEntry = 11Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:57
Remove one dictionary entry, keeping the order of the rest.
ReplaceEntry
Section titled “ReplaceEntry”ReplaceEntry = 10Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:54
Replace one dictionary entry in its authored position.
SetCollectionEmpty
Section titled “SetCollectionEmpty”SetCollectionEmpty = 7Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:45
Set a collection to zero elements, which is not the none state.
SetCollectionNone
Section titled “SetCollectionNone”SetCollectionNone = 6Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:42
Set a collection to the explicit none state.
SetElement
Section titled “SetElement”SetElement = 1Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:27
Replace one ordered element’s payload in place.
SetLength
Section titled “SetLength”SetLength = 5Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:39
Set an authored collection’s length.
SetValue
Section titled “SetValue”SetValue = 0Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:24
Replace a single-shape value’s whole canonical payload.
BehaviorBlackboardValueEditRequest
Section titled “BehaviorBlackboardValueEditRequest”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequestSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:71-216
One structural edit a value control raises, mapped one-to-one onto the undoable
EditBlackboardDefaultCommandvocabulary the window executes.
Responsibilities:
- Carry exactly what the command factory needs: the edit kind, the variable, the ordered indices, the length, and the canonical payload.
Does NOT:
- Apply anything. The window routes it through the editing session’s undo stack.
Members
Section titled “Members”public BitQuirky.Behavior.Authoring.BehaviorSourceDictionaryEntry Entry { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:113
Gets the complete dictionary entry an entry edit writes, or null.
public int Index { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:98
Gets the zero-based element index, or -1 when the edit has none.
public BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditKind Kind { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:92
Gets which structural edit is asked for.
Length
Section titled “Length”public int Length { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:104
Gets the requested collection length, or -1.
Payload
Section titled “Payload”public string Payload { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:110
Gets the canonical payload: the element or value payload, or the declared type’s default a length raise appends.
ToIndex
Section titled “ToIndex”public int ToIndex { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:101
Gets the destination index of a move, or -1.
VariableName
Section titled “VariableName”public string VariableName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:95
Gets the declared variable the edit belongs to.
AddEntry(string variableName, BehaviorSourceDictionaryEntry entry)
Section titled “AddEntry(string variableName, BehaviorSourceDictionaryEntry entry)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest AddEntry(string variableName, BitQuirky.Behavior.Authoring.BehaviorSourceDictionaryEntry entry)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:182-188
Appends one dictionary entry after every authored entry.
InsertElement(string variableName, int index, string payload)
Section titled “InsertElement(string variableName, int index, string payload)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest InsertElement(string variableName, int index, string payload)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:131-136
Inserts one element at an exact authored position.
InsertEntry(string variableName, int index, BehaviorSourceDictionaryEntry entry)
Section titled “InsertEntry(string variableName, int index, BehaviorSourceDictionaryEntry entry)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest InsertEntry(string variableName, int index, BitQuirky.Behavior.Authoring.BehaviorSourceDictionaryEntry entry)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:191-197
Inserts one dictionary entry at an exact authored position.
MoveElement(string variableName, int fromIndex, int toIndex)
Section titled “MoveElement(string variableName, int fromIndex, int toIndex)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest MoveElement(string variableName, int fromIndex, int toIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:148-154
Moves one element to a new authored position.
RemoveElement(string variableName, int index)
Section titled “RemoveElement(string variableName, int index)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest RemoveElement(string variableName, int index)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:139-145
Removes one element, keeping the order of the rest.
RemoveEntry(string variableName, int index)
Section titled “RemoveEntry(string variableName, int index)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest RemoveEntry(string variableName, int index)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:209-215
Removes one dictionary entry, keeping the order of the rest.
ReplaceEntry(string variableName, int index, BehaviorSourceDictionaryEntry entry)
Section titled “ReplaceEntry(string variableName, int index, BehaviorSourceDictionaryEntry entry)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest ReplaceEntry(string variableName, int index, BitQuirky.Behavior.Authoring.BehaviorSourceDictionaryEntry entry)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:200-206
Replaces one dictionary entry in its authored position.
SetCollectionEmpty(string variableName)
Section titled “SetCollectionEmpty(string variableName)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest SetCollectionEmpty(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:174-179
Sets a collection to zero elements, which is not the none state.
SetCollectionNone(string variableName)
Section titled “SetCollectionNone(string variableName)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest SetCollectionNone(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:166-171
Sets a collection to the explicit none state.
SetElement(string variableName, int index, string payload)
Section titled “SetElement(string variableName, int index, string payload)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest SetElement(string variableName, int index, string payload)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:123-128
Replaces one ordered element’s payload in place.
SetLength(string variableName, int length, string typeDefaultPayload)
Section titled “SetLength(string variableName, int length, string typeDefaultPayload)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest SetLength(string variableName, int length, string typeDefaultPayload)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:157-163
Sets an authored collection’s length; the payload is the appended default.
SetValue(string variableName, string payload)
Section titled “SetValue(string variableName, string payload)”public static BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest SetValue(string variableName, string payload)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:116-120
Replaces a single-shape value’s whole payload.
BehaviorDebugTickControlAdapter
Section titled “BehaviorDebugTickControlAdapter”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorDebugTickControlAdapterSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorDebugTickControlAdapter.cs:28-71
Implements: IBehaviorGraphDebugControl
Default adapter that forwardsIBehaviorGraphDebugControl
calls to a runtime-ownedBehaviorDebugTickControl.
Project-side openers construct one of these around the
FollowerBehaviorRuntime.DebugTickControlinstance and pass
it toBehaviorTreeEditorWindowalongside the read binding.
Responsibilities:
- Translate per-follower Pause / Resume / Step / IsPaused / SubscribeNodeEntered calls into the underlying runtime object.
- Assert the underlying control is non-null at construction (constitution: no fallback code).
Does NOT:
- Maintain any state itself; every call delegates.
- Cross network boundaries. The host-authority rule is enforced by the runtime’s debug-tick control, not by this adapter.
Members
Section titled “Members”BehaviorDebugTickControlAdapter(BehaviorDebugTickControl control)
Section titled “BehaviorDebugTickControlAdapter(BehaviorDebugTickControl control)”public BehaviorDebugTickControlAdapter(BitQuirky.Behavior.Diagnostics.BehaviorDebugTickControl control)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorDebugTickControlAdapter.cs:43-48
Wraps the runtime-owned tick control every call is forwarded to. Asserts it is non-null, since the adapter holds no state of its own and has nothing to fall back on.
IsPaused(int followerId)
Section titled “IsPaused(int followerId)”public bool IsPaused(int followerId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorDebugTickControlAdapter.cs:64
Whether the given follower is currently held paused.
Pause(int followerId)
Section titled “Pause(int followerId)”public void Pause(int followerId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorDebugTickControlAdapter.cs:55
Pauses ticking for the given live follower so the debugger can hold a frame.
Resume(int followerId)
Section titled “Resume(int followerId)”public void Resume(int followerId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorDebugTickControlAdapter.cs:58
Resumes ticking for a paused follower.
Step(int followerId)
Section titled “Step(int followerId)”public void Step(int followerId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorDebugTickControlAdapter.cs:61
Advances a paused follower by exactly one tick and leaves it paused.
SubscribeNodeEntered(int followerId, Action<int> onNodeEntered)
Section titled “SubscribeNodeEntered(int followerId, Action<int> onNodeEntered)”public System.IDisposable SubscribeNodeEntered(int followerId, System.Action<int> onNodeEntered)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorDebugTickControlAdapter.cs:67-68
Subscribes to node-entered notifications for the follower; the callback receives the baked node index. Dispose the returned handle to unsubscribe.
BehaviorEditorIssue
Section titled “BehaviorEditorIssue”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorEditorIssueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:38-71
One issue row the toolbar’s issues dropdown states.
Responsibilities:
- Carry the issue’s domain, its headline in the wording its owning surface already uses, the fix guidance where one is authored, the location coordinate the row displays, and the navigation coordinates (node id, blackboard fault, member diagnostic) the window resolves when the row is activated.
Does NOT:
- Navigate or repair anything; the editor window owns selection, focus, and recoveries.
Members
Section titled “Members”ActionLabel
Section titled “ActionLabel”public string ActionLabel { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:50
Gets or sets the navigation affordance label (“Go to node”).
public string Code { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:64
Gets or sets the machine-readable violation code, for the GraphValidation domain;
empty for every other domain. Decides whether toolbar activation may still route to
the Member section’s Change picker (, D2:
GraphValidationRepairControlName).
Diagnostic
Section titled “Diagnostic”public BitQuirky.Behavior.Member.BehaviorMemberBindingDiagnostic Diagnostic { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:70
Gets or sets the member diagnostic to focus, for the MemberBinding domain.
Domain
Section titled “Domain”public BitQuirky.Behavior.Editor.BehaviorEditorIssueDomain Domain { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:41
Gets or sets the verdict domain this issue is counted in.
public BitQuirky.Behavior.Editor.BlackboardFault Fault { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:67
Gets or sets the blackboard fault to focus, for the Blackboard domain.
Guidance
Section titled “Guidance”public string Guidance { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:47
Gets or sets the fix guidance line; empty when none is authored.
Headline
Section titled “Headline”public string Headline { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:44
Gets or sets the issue’s one-line description, in its exact wording.
Location
Section titled “Location”public string Location { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:53
Gets or sets the displayed location coordinate; empty when document-scoped.
NodeId
Section titled “NodeId”public string NodeId { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:56
Gets or sets the owning source node id; empty when no node owns it.
BehaviorEditorIssueDomain
Section titled “BehaviorEditorIssueDomain”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorEditorIssueDomainSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:14-24
Underlying type: int
The validation domain one editor issue belongs to. Each domain is one of the toolbar’s verdict sources, so the issues dropdown enumerates exactly what the chips count.
Members
Section titled “Members”Blackboard
Section titled “Blackboard”Blackboard = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:19
A blackboard fault (“N blackboard issues”).
GraphValidation
Section titled “GraphValidation”GraphValidation = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:21
A graph edit-validation violation (“N issues”).
LiveTarget
Section titled “LiveTarget”LiveTarget = 3Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:23
An amber live target reading (“N targets unresolved”).
MemberBinding
Section titled “MemberBinding”MemberBinding = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:17
A member binding bake diagnostic (“N binding issues”).
BehaviorEditorIssuePresenter
Section titled “BehaviorEditorIssuePresenter”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorEditorIssuePresenterSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:90-283
Projects every toolbar-counted validation domain into the one issue-row model the issues dropdown renders.
Responsibilities:
- State each domain’s issue with the same wording its owning surface already uses (member inline message, blackboard fault message, validation violation message, live unresolved reason), so the dropdown never restates a fault in new words.
- Name the fix each row offers: a member repair intent, a blackboard fault’s recoveries, or the save-blocking consequence a validation violation carries.
Does NOT:
- Collect issues; the editor window owns each domain’s current collection.
- Render anything;BehaviorTreeIssuesPopoverrenders these rows.
Members
Section titled “Members”AllClearReading
Section titled “AllClearReading”public const string AllClearReading = "No issues: the graph, its bindings, its blackboard, and its live targets are valid."Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:98-100
The dropdown’s reading when every verdict source is clean: none of the four surfaces counts an issue.
GoToNodeAction
Section titled “GoToNodeAction”public const string GoToNodeAction = "Go to node"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:103
The navigation label for a row that selects a node.
GoToVariableAction
Section titled “GoToVariableAction”public const string GoToVariableAction = "Go to variable"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:106
The navigation label for a row that focuses a blackboard variable.
OpenRailAction
Section titled “OpenRailAction”public const string OpenRailAction = "Open rail"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:109
The navigation label for a document-scoped row that opens the rail.
FromBlackboardFault(BlackboardFault fault)
Section titled “FromBlackboardFault(BlackboardFault fault)”public static BitQuirky.Behavior.Editor.BehaviorEditorIssue FromBlackboardFault(BitQuirky.Behavior.Editor.BlackboardFault fault)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:154-172
States one blackboard fault as an issue row. The headline is the fault’s canonical message and the guidance names the recoveries the Validation card offers for it.
FromMemberDiagnostic(BehaviorMemberBindingDiagnostic diagnostic, string nodeId)
Section titled “FromMemberDiagnostic(BehaviorMemberBindingDiagnostic diagnostic, string nodeId)”public static BitQuirky.Behavior.Editor.BehaviorEditorIssue FromMemberDiagnostic(BitQuirky.Behavior.Member.BehaviorMemberBindingDiagnostic diagnostic, string nodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:132-148
States one member binding diagnostic as an issue row. The headline is the inline message every member surface already shows, and the guidance is the diagnostic’s own repair intent when it offers one.
FromTargetReading(BehaviorMemberTargetReading reading)
Section titled “FromTargetReading(BehaviorMemberTargetReading reading)”public static BitQuirky.Behavior.Editor.BehaviorEditorIssue FromTargetReading(BitQuirky.Behavior.Member.BehaviorMemberTargetReading reading)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:224-235
States one unresolved live target reading as an amber issue row. The headline is the same reason line the node carries, and the guidance repeats the amber contract: the world moved, the graph stays valid, and the reading clears when the target resolves.
FromUncarriedBinding(BehaviorUncarriedBinding uncarried)
Section titled “FromUncarriedBinding(BehaviorUncarriedBinding uncarried)”public static BitQuirky.Behavior.Editor.BehaviorEditorIssue FromUncarriedBinding(BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding uncarried)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:180-195
States one binding the graph’s Runtime path cannot carry as a Blackboard-domain issue row, in the wording the band’s Graph validation card already uses, with its recoveries as the guidance. A row with an owning node navigates to it; a surfaced blackboard binding opens the rail.
FromValidationViolation(BehaviorTreeEditValidationViolation violation)
Section titled “FromValidationViolation(BehaviorTreeEditValidationViolation violation)”public static BitQuirky.Behavior.Editor.BehaviorEditorIssue FromValidationViolation(BitQuirky.Behavior.Editor.BehaviorTreeEditValidationViolation violation)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:201-217
States one blocking edit-validation violation as an issue row. Every counted violation blocks save, and a node-scoped one navigates to its node.
SectionLabel(BehaviorEditorIssueDomain domain)
Section titled “SectionLabel(BehaviorEditorIssueDomain domain)”public static string SectionLabel(BitQuirky.Behavior.Editor.BehaviorEditorIssueDomain domain)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:112-121
Gets the uppercase section heading one domain’s rows sit under.
BehaviorEditorWindowBackend
Section titled “BehaviorEditorWindowBackend”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorEditorWindowBackendSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:11-128
Implements: IBehaviorEditorWindowBackend
Plain presentation controller. Only Owner participates in Unity serialization.
Members
Section titled “Members”public UnityEditor.EditorWindow Owner { get; private set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:14
Gets the stable Unity window that owns serialization and visual resources.
docked
Section titled “docked”public bool docked { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:29
Gets whether the stable owner is docked.
hasFocus
Section titled “hasFocus”public bool hasFocus { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:27
Gets whether the stable owner currently has keyboard focus.
hideFlags
Section titled “hideFlags”public UnityEngine.HideFlags hideFlags { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:33
Gets or sets the stable owner’s Unity object visibility and persistence flags.
maxSize
Section titled “maxSize”public UnityEngine.Vector2 maxSize { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:25
Gets or sets the stable owner’s maximum window size.
minSize
Section titled “minSize”public UnityEngine.Vector2 minSize { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:23
Gets or sets the stable owner’s minimum window size.
public string name { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:31
Gets or sets the stable owner’s Unity object name.
position
Section titled “position”public UnityEngine.Rect position { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:19
Gets or sets the stable owner’s window rectangle.
rootVisualElement
Section titled “rootVisualElement”public UnityEngine.UIElements.VisualElement rootVisualElement { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:17
Gets the stable owner’s root visual element.
titleContent
Section titled “titleContent”public UnityEngine.GUIContent titleContent { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:21
Gets or sets the stable owner’s title and icon.
Close()
Section titled “Close()”public void Close()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:39
Closes the stable owner through Unity’s window lifecycle.
CreateGUI()
Section titled “CreateGUI()”public virtual void CreateGUI()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:58
Builds the stable owner’s retained-mode visual tree.
CreateInstance<T>()
Section titled “CreateInstance<T>()”public static T CreateInstance<T>() where T : BitQuirky.Behavior.Editor.BehaviorEditorWindowBackendSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:82-97
Creates a fresh stable owner and returns its supported presentation type.
DestroyImmediate(BehaviorEditorWindowBackend backend)
Section titled “DestroyImmediate(BehaviorEditorWindowBackend backend)”protected static void DestroyImmediate(BitQuirky.Behavior.Editor.BehaviorEditorWindowBackend backend)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:126-127
Destroys a presentation’s stable owner immediately during controlled teardown.
Equals(object obj)
Section titled “Equals(object obj)”public override bool Equals(object obj)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:50
Compares managed presentation references without consulting Unity object identity.
FindWindows<T>()
Section titled “FindWindows<T>()”public static T[] FindWindows<T>() where T : BitQuirky.Behavior.Editor.BehaviorEditorWindowBackendSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:100-113
Finds the presentations of all loaded stable owners of the requested type.
Focus()
Section titled “Focus()”public void Focus()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:37
Gives keyboard focus to the stable owner.
GetHashCode()
Section titled “GetHashCode()”public override int GetHashCode()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:52
Returns the managed presentation’s identity hash.
GetWindow<T>(string title, bool focus, params Type[] desiredDockNextTo)
Section titled “GetWindow<T>(string title, bool focus, params Type[] desiredDockNextTo)”public static T GetWindow<T>(string title, bool focus, params System.Type[] desiredDockNextTo) where T : BitQuirky.Behavior.Editor.BehaviorEditorWindowBackendSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:67-79
Gets or opens the stable docked owner for a supported presentation type.
OnBecameInvisible()
Section titled “OnBecameInvisible()”public virtual void OnBecameInvisible()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:64
Suspends visibility-dependent presentation work when the window is hidden.
OnBecameVisible()
Section titled “OnBecameVisible()”public virtual void OnBecameVisible()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:62
Resumes presentation work when the stable window becomes visible.
OnDestroy()
Section titled “OnDestroy()”public virtual void OnDestroy()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:60
Releases presentation resources when the stable window is destroyed.
OnDisable()
Section titled “OnDisable()”public virtual void OnDisable()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:56
Releases transient presentation subscriptions when the window is disabled.
OnEnable()
Section titled “OnEnable()”public virtual void OnEnable()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:54
Restores presentation state when the stable window is enabled.
Repaint()
Section titled “Repaint()”public void Repaint()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:41
Requests a repaint of the stable owner.
Show()
Section titled “Show()”public void Show()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:35
Shows the stable owner without creating a second presentation.
op_Equality(BehaviorEditorWindowBackend left, BehaviorEditorWindowBackend right)
Section titled “op_Equality(BehaviorEditorWindowBackend left, BehaviorEditorWindowBackend right)”public static bool operator ==(BitQuirky.Behavior.Editor.BehaviorEditorWindowBackend left, BitQuirky.Behavior.Editor.BehaviorEditorWindowBackend right)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:45-46
Compares presentation identity, treating a destroyed Unity owner as null.
op_Implicit(BehaviorEditorWindowBackend backend)
Section titled “op_Implicit(BehaviorEditorWindowBackend backend)”public static implicit operator UnityEditor.EditorWindow(BitQuirky.Behavior.Editor.BehaviorEditorWindowBackend backend)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:43
Returns the stable window owner, or null for a null presentation.
op_Inequality(BehaviorEditorWindowBackend left, BehaviorEditorWindowBackend right)
Section titled “op_Inequality(BehaviorEditorWindowBackend left, BehaviorEditorWindowBackend right)”public static bool operator !=(BitQuirky.Behavior.Editor.BehaviorEditorWindowBackend left, BitQuirky.Behavior.Editor.BehaviorEditorWindowBackend right)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:48
Reports the inverse of presentation equality.
BehaviorEditorWindowDocking
Section titled “BehaviorEditorWindowDocking”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorEditorWindowDockingSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorEditorWindowDocking.cs:17-24
Supplies the public Scene view docking target used by Behavior editor windows.
Responsibilities:
- Keep first-open docking on Unity’s supported
SceneViewanchor.
Does NOT:
- Inspect internal Editor window types or alter an existing Editor layout.
Members
Section titled “Members”DesiredDockNextTo
Section titled “DesiredDockNextTo”public static System.Type[] DesiredDockNextTo { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorEditorWindowDocking.cs:23
Gets the supported window type product windows request as a dock target.
BehaviorEntityBindingLifecycle
Section titled “BehaviorEntityBindingLifecycle”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorEntityBindingLifecycleSource declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:11-18
Underlying type: int
Terminal lifecycle of one exact entity debugger binding.
Members
Section titled “Members”Destroyed
Section titled “Destroyed”Destroyed = 1Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:17
The entity is gone; the binding keeps serving its retained snapshots and never rebinds.
Live = 0Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:14
The entity still exists and its values are being sampled.
BehaviorEntityDebuggerBinding
Section titled “BehaviorEntityDebuggerBinding”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorEntityDebuggerBindingSource declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:33-1468
Implements: IBehaviorGraphDebuggerBinding, IBehaviorEntityNodeStatusCapability, IBehaviorEntityUtilityScoreCapability, IBehaviorRepeatLiveStateSource, IBehaviorProbabilityLiveStateSource, IBehaviorEntityIdentityCapability, IBehaviorEntityLifecycleCapability, IBehaviorMemberTargetReadingSource, IBehaviorLiveMemberSource, IBehaviorSharedNumericDebugCapability, IBehaviorLiveValueSource, IBehaviorLiveValueCapability, IBehaviorLiveValueRowSource, IBehaviorLiveValueStateRowSource, IBehaviorHostedStateMachineLiveSource, IDisposable
Read-only editor binding to one exact pure entity in one explicit World.
Responsibilities:
- Own a static artifact copy and immutable identity for safe retained presentation.
- Sample live instance, status, blackboard, pending, and bounded event snapshots.
- Become terminal when any exact identity field no longer matches.
Does NOT:
- Discover a default World, create a GameObject proxy, control execution, or rebind.
Members
Section titled “Members”Artifact
Section titled “Artifact”public BitQuirky.Behavior.Baked.BakedBehaviorArtifact Artifact { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:152
Baked artifact the followed entity runs.
DeepestExecutedNodeIndex
Section titled “DeepestExecutedNodeIndex”public int DeepestExecutedNodeIndex { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:170
Deepest baked node index reached in the last observed tick, or -1 when nothing executed.
DisplayName
Section titled “DisplayName”public string DisplayName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:146
Entity index and version, shown in the debugger follower chip.
FollowerId
Section titled “FollowerId”public int FollowerId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:144
Id of the debug follower attached to the entity.
HasSharedNumericField
Section titled “HasSharedNumericField”public bool HasSharedNumericField { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:459
Whether the followed graph currently binds a shared numeric field.
HighDetailRegistry
Section titled “HighDetailRegistry”public BitQuirky.Behavior.Diagnostics.BehaviorTraceHighDetailRegistry HighDetailRegistry { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:156
Registry that collects the high-detail traces requested for this follower.
HostedStateMachine
Section titled “HostedStateMachine”public BitQuirky.Behavior.Execution.BehaviorHostedStateMachineRuntime HostedStateMachine { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:196-201
Gets the followed entity’s own Hosted State Machine driver, or null while the binding is not live or the graph id is no longer registered (FSM-013).
Identity
Section titled “Identity”public BitQuirky.Behavior.Editor.BehaviorEntityIdentitySnapshot Identity { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:158
Identity of the followed entity, captured when the binding was created and never re-resolved.
Lifecycle
Section titled “Lifecycle”public BitQuirky.Behavior.Editor.BehaviorEntityBindingLifecycle Lifecycle { get; private set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:160
Whether the binding is still live or its entity has been destroyed.
LifecycleMessage
Section titled “LifecycleMessage”public string LifecycleMessage { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:162-164
Author-facing lifecycle note, and the empty string while the binding is live.
LiveMemberCapability
Section titled “LiveMemberCapability”public BitQuirky.Behavior.Member.IBehaviorLiveMemberCapability LiveMemberCapability { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:509-522
Gets the followed entity’s own Live member capability, or null when the graph binds no member or the binding is no longer live.
LiveValueCapability
Section titled “LiveValueCapability”public BitQuirky.Behavior.Member.IBehaviorLiveValueCapability LiveValueCapability { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:500-501
Gets this binding’s own live value capability: an entity binding self-hosts it directly, since it already holds the World/Entity/BehaviorEntityRuntime handles a blackboard or overlay-buffer write needs, independent of whether the followed graph binds any member operations (, research.md R12).
MemberTargetReadingCount
Section titled “MemberTargetReadingCount”public int MemberTargetReadingCount { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:175
Gets the number of live member target readings available.
ServiceBindings
Section titled “ServiceBindings”public BitQuirky.Behavior.Diagnostics.BehaviorTraceServiceBindings ServiceBindings { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:154
Always None: an entity binding resolves no host services.
SnapshotVersion
Section titled “SnapshotVersion”public long SnapshotVersion { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:166
Counter incremented on every successful Refresh, so consumers can skip unchanged frames.
UnresolvedMemberTargetCount
Section titled “UnresolvedMemberTargetCount”public int UnresolvedMemberTargetCount { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:172
Gets how many member targets did not resolve on their last evaluation.
ViewportPersistenceKey
Section titled “ViewportPersistenceKey”public string ViewportPersistenceKey { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:148-150
Key the viewport pan and zoom is persisted under, scoped to this world instance, entity, and graph.
DestroyedMessage
Section titled “DestroyedMessage”public const string DestroyedMessage = "Selected entity no longer exists."Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:53
Lifecycle message shown once the followed entity has been destroyed.
Dispose()
Section titled “Dispose()”public void Dispose()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:866-886
Releases the high-detail registry and unhooks the editor lifecycle callbacks. Idempotent.
ReadBlackboardDesignFields()
Section titled “ReadBlackboardDesignFields()”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorBlackboardFieldSnapshot> ReadBlackboardDesignFields()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:455-456
Blackboard values captured at bind time, which survive the entity’s destruction.
ReadBlackboardFields()
Section titled “ReadBlackboardFields()”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorBlackboardFieldSnapshot> ReadBlackboardFields()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:208-211
Live blackboard values while the entity exists, and the captured design values once it is destroyed.
ReadLiveValueRows()
Section titled “ReadLiveValueRows()”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorLiveValueRowSnapshot> ReadLiveValueRows()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:216-335
Snapshot of every graph-held Blackboard and Task row this instance offers.
ReadMemberTargetReading(int index)
Section titled “ReadMemberTargetReading(int index)”public BitQuirky.Behavior.Member.BehaviorMemberTargetReading ReadMemberTargetReading(int index)Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:178-183
Reads one live member target reading by index.
ReadNodeExecutionStatuses()
Section titled “ReadNodeExecutionStatuses()”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus> ReadNodeExecutionStatuses()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:401-402
Per-node execution status from the last observed tick.
ReadPendingExternals()
Section titled “ReadPendingExternals()”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorPendingExternalSnapshot> ReadPendingExternals()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:398
External requests the entity is currently awaiting.
ReadRecentEvents()
Section titled “ReadRecentEvents()”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRecentEventSnapshot> ReadRecentEvents()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:452
Most recent transition and event records, newest last, capped to the binding’s ring capacity.
ReadSharedNumericField()
Section titled “ReadSharedNumericField()”public BitQuirky.Behavior.Editor.BehaviorSharedNumericFieldSnapshot ReadSharedNumericField()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:462-472
Gets the bound field’s current snapshot, or a default snapshot when HasSharedNumericFieldis false.
ReadStateLiveValueRow(int stateNodeIndex)
Section titled “ReadStateLiveValueRow(int stateNodeIndex)”public BitQuirky.Behavior.Editor.BehaviorLiveValueRowSnapshot? ReadStateLiveValueRow(int stateNodeIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:350-395
Reports the named baked State node’s own live-value-overlay-aware
min_active_secondsrow ( Phase 6): the running instance’s accepted
live edit when the node’s own overlay slot carries one, otherwise its authored baked
parameter. Returns null for a node that is not a plain State – the Entry state, Any
State, or any other node – because only a State registersmin_active_seconds.
ReadUtilityBranchScores()
Section titled “ReadUtilityBranchScores()”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorUtilityBranchScoreSnapshot> ReadUtilityBranchScores()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:405-406
Latest Utility Selector branch scores and active flags, indexed by baked branch source order.
ReadWatchedFields()
Section titled “ReadWatchedFields()”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorWatchedFieldSnapshot> ReadWatchedFields()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:204-205
Always empty: watched values are an authoring-session concern, not an entity binding one.
Refresh()
Section titled “Refresh()”public void Refresh()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:847-863
Re-reads the entity through its generation-aware view and advances SnapshotVersion. Marks the binding destroyed when the entity is gone; a no-op once disposed or destroyed.
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/Editor/Entity/BehaviorEntityDebuggerBinding.cs:556-581
Submits one live value edit against the followed entity’s own per-instance storage (, through ): a declared blackboard field or graph-local variable is written into the entity’s own blackboard buffer, and a Task authored constant or State duration parameter is written into the entity’s own live-value overlay buffer, keyed by the baked node that owns it. Refuses a target this baked graph does not declare, a blackboard slot whose strongest declared writer is host-authoritative, or a payload that is not the target slot’s own exact representation, with a stated reason and no partial change.
TryEditSharedNumericValue(float value)
Section titled “TryEditSharedNumericValue(float value)”public bool TryEditSharedNumericValue(float value)Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:475-481
Writesvaluethrough to the backing source. Returns false without
effect when the followed graph binds no shared numeric field or the attachment is no
longer live.
TryGetInstance(out BehaviorRuntimeInstance instance)
Section titled “TryGetInstance(out BehaviorRuntimeInstance instance)”public bool TryGetInstance(out BitQuirky.Behavior.Execution.BehaviorRuntimeInstance instance)Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:186-190
Reads the runtime instance captured by the last refresh. Returns false when no instance was available.
BehaviorEntityIdentitySnapshot
Section titled “BehaviorEntityIdentitySnapshot”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorEntityIdentitySnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:30-132
Immutable identity captured when an exact runtime entity binding is created.
Responsibilities:
- Retain exact World, generation-aware entity, archetype, graph, and application values.
- Produce the compact five-detail display strings the editor rail shows.
Does NOT:
- Retain live World or EntityManager references.
Members
Section titled “Members”ApplicationContext
Section titled “ApplicationContext”public string ApplicationContext { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:77
Play mode, edit mode, or build context the snapshot was taken in.
ArchetypeComponentNames
Section titled “ArchetypeComponentNames”public System.Collections.Generic.IReadOnlyList<string> ArchetypeComponentNames { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:71
Component type names on the entity’s archetype, sorted ordinally.
ArchetypeDisplay
Section titled “ArchetypeDisplay”public string ArchetypeDisplay { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:92-118
Archetype summarized for a compact row: the representative component followed by a “+n” count of the rest, and “(Empty)” for an archetype with no components.
EntityDisplay
Section titled “EntityDisplay”public string EntityDisplay { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:85
Entity index and version formatted for display.
EntityIndex
Section titled “EntityIndex”public int EntityIndex { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:67
Index part of the entity id.
EntityVersion
Section titled “EntityVersion”public int EntityVersion { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:69
Version part of the entity id, which distinguishes a reused entity slot.
FollowerId
Section titled “FollowerId”public int FollowerId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:75
Id of the debug follower attached to the entity.
GraphId
Section titled “GraphId”public int GraphId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:73
Id of the graph the entity runs.
GraphInstanceDisplay
Section titled “GraphInstanceDisplay”public string GraphInstanceDisplay { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:124-131
Graph and follower ids packed into one hexadecimal instance handle, which is how the rail identifies this graph instance.
PrimaryArchetypeComponent
Section titled “PrimaryArchetypeComponent”public string PrimaryArchetypeComponent { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:79
Component chosen to represent the archetype in compact displays.
WorldDisplay
Section titled “WorldDisplay”public string WorldDisplay { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:82
World name and instance number formatted for display.
WorldName
Section titled “WorldName”public string WorldName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:63
Name of the world the entity was resolved in.
WorldSequenceNumber
Section titled “WorldSequenceNumber”public ulong WorldSequenceNumber { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:65
Sequence number of that world instance, which distinguishes a recreated world of the same name.
BehaviorEntityIdentitySnapshot(string worldName, ulong worldSequenceNumber, int entityIndex, int entityVersion, IReadOnlyList<string> archetypeComponentNames, int graphId, int followerId, string applicationContext, string primaryArchetypeComponent)
Section titled “BehaviorEntityIdentitySnapshot(string worldName, ulong worldSequenceNumber, int entityIndex, int entityVersion, IReadOnlyList<string> archetypeComponentNames, int graphId, int followerId, string applicationContext, string primaryArchetypeComponent)”public BehaviorEntityIdentitySnapshot(string worldName, ulong worldSequenceNumber, int entityIndex, int entityVersion, System.Collections.Generic.IReadOnlyList<string> archetypeComponentNames, int graphId, int followerId, string applicationContext, string primaryArchetypeComponent = null)Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:38-60
Copies the identity out of the live world so nothing keeps a World or EntityManager reference alive. Null names become the empty string and the archetype component names are sorted ordinally, so the display strings are deterministic.
BehaviorEntitySelectionResolutionStatus
Section titled “BehaviorEntitySelectionResolutionStatus”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorEntitySelectionResolutionStatusSource declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:13-26
Underlying type: int
Outcome of resolving one Unity-selected runtime entity.
Members
Section titled “Members”Ambiguous
Section titled “Ambiguous”Ambiguous = 2Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:22
The entity id matches in more than one world, so no single target can be chosen.
None = 0Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:16
The selection is not a runtime entity this resolver knows about, so the editor leaves its current binding alone.
Supported
Section titled “Supported”Supported = 3Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:25
Exactly one debuggable entity was resolved and the target is filled in.
Unsupported
Section titled “Unsupported”Unsupported = 1Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:19
A runtime entity was found, but it carries no behavior graph binding or runtime registration to debug.
BehaviorEntitySelectionResolver
Section titled “BehaviorEntitySelectionResolver”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorEntitySelectionResolverSource declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:69-223
Fail-closed resolver for Unity 6.7’s generation-aware runtime entity selection.
Responsibilities:
- Preserve the selected EntityId generation while scanning explicit live Worlds.
- Continue only for exactly one World and a complete package-owned runtime composition.
Does NOT:
- Use the default World, create a proxy GameObject, or select another entity.
Members
Section titled “Members”Resolve(EntityId selectedEntityId, out BehaviorEntitySelectionTarget target)
Section titled “Resolve(EntityId selectedEntityId, out BehaviorEntitySelectionTarget target)”public static BitQuirky.Behavior.Editor.BehaviorEntitySelectionResolutionStatus Resolve(UnityEngine.EntityId selectedEntityId, out BitQuirky.Behavior.Editor.BehaviorEntitySelectionTarget target)Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:72-91
Resolves the current entity selection to a live behavior runtime. Returns the failure status and leaves target default when the id is stale, the world is gone, or the entity carries no behavior.
BehaviorEntitySelectionTarget
Section titled “BehaviorEntitySelectionTarget”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorEntitySelectionTargetSource declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:37-57
Exact non-owning target produced by Unity runtime entity selection resolution.
Responsibilities:
- Carry the one explicit World, generation-aware Entity, runtime owner, and initial view.
Does NOT:
- Own runtime resources or choose a fallback target.
Members
Section titled “Members”Entity
Section titled “Entity”public Unity.Entities.Entity Entity { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:54
The selected entity, valid only in World.
public Unity.Entities.World World { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:52
World the selected entity lives in.
BehaviorGraphAssetCandidate
Section titled “BehaviorGraphAssetCandidate”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorGraphAssetCandidateSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:34-52
One project graph asset offered by the shared graph-asset picker.
Responsibilities:
- Carry the stable asset GUID plus the file name and current folder shown on its row.
Does NOT:
- Load the asset, decide eligibility, or retain UI elements.
Members
Section titled “Members”Address
Section titled “Address”public readonly string AddressSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:37
Stable AssetDatabase GUID assigned when this candidate is chosen.
DisplayName
Section titled “DisplayName”public readonly string DisplayNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:40
File name shown as the row title.
FolderPath
Section titled “FolderPath”public readonly string FolderPathSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:43
Project folder shown as the row location.
BehaviorGraphAssetCandidate(string address, string displayName, string folderPath)
Section titled “BehaviorGraphAssetCandidate(string address, string displayName, string folderPath)”public BehaviorGraphAssetCandidate(string address, string displayName, string folderPath)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:46-51
Creates one immutable picker candidate.
BehaviorGraphAssetKind
Section titled “BehaviorGraphAssetKind”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorGraphAssetKindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:16-23
Underlying type: byte
Graph kind whose project assets one picker presents.
Members
Section titled “Members”BehaviorTree
Section titled “BehaviorTree”BehaviorTree = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:19
A reusable Behavior Tree project asset.
StateMachine
Section titled “StateMachine”StateMachine = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:22
A reusable State Machine project asset.
BehaviorGraphAssetPickerPopover
Section titled “BehaviorGraphAssetPickerPopover”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorGraphAssetPickerPopoverSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:71-391
Searchable project-asset picker shared by hosted Behavior Trees and referenced State Machine candidates.
Responsibilities:
- Present caller-permitted graph assets with graph-kind-specific title, icon, search, empty-state, and creation copy.
- Mark the currently assigned asset as committed, including a saved identity that no longer resolves, and assign one row immediately.
- Keep asset eligibility with the caller.
Does NOT:
- Scan the project, create an asset, mutate a source document, or record an undo step.
- Open an EditorWindow or apply a second confirmation.
Members
Section titled “Members”AssetChosen
Section titled “AssetChosen”public event System.Action<string> AssetChosenSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:98
Raised with the stable GUID of the chosen graph asset.
NewAssetRequested
Section titled “NewAssetRequested”public event System.Action NewAssetRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:101
Raised when the author chooses the optional project-asset creation action.
BehaviorGraphAssetPickerPopover(BehaviorGraphAssetKind graphKind, bool offerNewAsset)
Section titled “BehaviorGraphAssetPickerPopover(BehaviorGraphAssetKind graphKind, bool offerNewAsset)”public BehaviorGraphAssetPickerPopover(BitQuirky.Behavior.Editor.BehaviorGraphAssetKind graphKind, bool offerNewAsset = false)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:110-175
Creates the picker for one explicit graph kind.
Parameters
graphKind: Kind whose title, icon and copy the picker uses.offerNewAsset: Whether to show the existing project-asset creation action.
Close()
Section titled “Close()”public void Close()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:226-229
Closes the picker and keeps the prior assignment.
Open(VisualElement panelRoot, VisualElement anchor, IReadOnlyList<BehaviorGraphAssetCandidate> candidates, string currentAddress)
Section titled “Open(VisualElement panelRoot, VisualElement anchor, IReadOnlyList<BehaviorGraphAssetCandidate> candidates, string currentAddress)”public void Open(UnityEngine.UIElements.VisualElement panelRoot, UnityEngine.UIElements.VisualElement anchor, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorGraphAssetCandidate> candidates, string currentAddress)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:184-223
Opens the picker below an assignment field.
BehaviorGraphDebuggerWindowBackend
Section titled “BehaviorGraphDebuggerWindowBackend”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorGraphDebuggerWindowBackendSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:55-1260
Inherits: BehaviorEditorWindowBackend
Layer 2 graph debugger editor window. Renders the active follower’s behavior graph usingGraphViewHostfrom Layer 1 (no parallel canvas, FR-012h) and overlays live highlights for the active node, recent transitions, watched blackboard slots, pending externals, and the authority context.
Responsibilities:
- Build a Layer 1GraphDefinitionfrom a Layer 2 BakedBehaviorArtifact(parent-child structure, transitions, layout) and feed it to a read-only GraphViewHost.
- Activate the bound follower’s high-detail trace ring on open and deactivate it on close.
- Refresh the always-onBehaviorTraceprojection plus the high-detail ring snapshot once per editor frame, without per-frame allocation in the steady state.
- Highlight the active baked-node by routing its id through Layer 1’s existing selection API, and surface the transition / result / pending-external / authority detail in a UI Toolkit side panel.
Does NOT:
- Mutate node state or edit the graph - the host is opened ReadOnlyand the diagnostics path stays a pure observer (constitution §Assertion Practices).
- Run a parallel canvas - all graph rendering goes through Layer 1.
- Require Debug variables - all live data flows through the binding contract (FR-024c).
- Persist any state across editor reloads - the window rebinds on the next open call.
Members
Section titled “Members”Bind(IBehaviorGraphDebuggerBinding binding)
Section titled “Bind(IBehaviorGraphDebuggerBinding binding)”public void Bind(BitQuirky.Behavior.Editor.IBehaviorGraphDebuggerBinding binding)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:215-241
(Re-)bind the window to a follower. Switches the rendered graph when the artifact changes and (re-)activates the high-detail ring for the new follower id.
BuildGraphDefinition(BakedBehaviorArtifact artifact)
Section titled “BuildGraphDefinition(BakedBehaviorArtifact artifact)”public static BitQuirky.Graph.GraphDefinition BuildGraphDefinition(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:1155-1160
Builds the graph definition the debugger renders for a baked artifact, discarding the baked-index maps the window itself keeps for live highlighting.
CreateGUI()
Section titled “CreateGUI()”public override void CreateGUI()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:146-173
Builds the stable owner’s retained-mode visual tree.
OnBecameInvisible()
Section titled “OnBecameInvisible()”public override void OnBecameInvisible()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:190-194
Suspends visibility-dependent presentation work when the window is hidden.
OnBecameVisible()
Section titled “OnBecameVisible()”public override void OnBecameVisible()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:183-187
Resumes presentation work when the stable window becomes visible.
OnDestroy()
Section titled “OnDestroy()”public override void OnDestroy()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:197-204
Releases presentation resources when the stable window is destroyed.
OnDisable()
Section titled “OnDisable()”public override void OnDisable()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:176-180
Releases transient presentation subscriptions when the window is disabled.
OpenForBinding(IBehaviorGraphDebuggerBinding binding)
Section titled “OpenForBinding(IBehaviorGraphDebuggerBinding binding)”public static BitQuirky.Behavior.Editor.BehaviorGraphDebuggerWindowBackend OpenForBinding(BitQuirky.Behavior.Editor.IBehaviorGraphDebuggerBinding binding)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:125-139
Open or focus the window and bind it tobinding.
Layer 3 calls this from itsfollower.behavior-graph <id>
command and from the prefab opener menu.
BehaviorLiveValueCollectionSnapshot
Section titled “BehaviorLiveValueCollectionSnapshot”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorLiveValueCollectionSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:345-386
The live elements of one carried list or array a Live values row edits .
Responsibilities:
- Carry the collection’s shape, its element kind and type, every live element as its canonical payload, and the native layout an edit must fill: the capacity, which is the authored element count, the element stride, and the slot’s byte size.
Does NOT:
- Change after it is read; an edit is encoded into a new whole-collection byte payload.
Members
Section titled “Members”ByteSize
Section titled “ByteSize”public int ByteSize { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:385
Gets the native byte size of the slot, which an edit must fill exactly.
Capacity
Section titled “Capacity”public int Capacity { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:379
Gets how many elements the collection can hold while running.
ElementKind
Section titled “ElementKind”public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind ElementKind { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:370
Gets the editable kind of one element.
ElementStride
Section titled “ElementStride”public int ElementStride { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:382
Gets the native byte stride of one element.
ElementType
Section titled “ElementType”public System.Type ElementType { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:373
Gets the declared element type.
Elements
Section titled “Elements”public System.Collections.Generic.IReadOnlyList<string> Elements { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:376
Gets every live element, in order, as its canonical payload.
public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShape Shape { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:367
Gets whether the collection is a list or an array.
BehaviorLiveValueCollectionSnapshot(BehaviorDeclaredValueShape shape, BehaviorDeclaredValueKind elementKind, Type elementType, IReadOnlyList<string> elements, int capacity, int elementStride, int byteSize)
Section titled “BehaviorLiveValueCollectionSnapshot(BehaviorDeclaredValueShape shape, BehaviorDeclaredValueKind elementKind, Type elementType, IReadOnlyList<string> elements, int capacity, int elementStride, int byteSize)”public BehaviorLiveValueCollectionSnapshot(BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShape shape, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind elementKind, System.Type elementType, System.Collections.Generic.IReadOnlyList<string> elements, int capacity, int elementStride, int byteSize)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:348-364
Creates the snapshot of one carried collection’s live elements.
BehaviorLiveValueRowSnapshot
Section titled “BehaviorLiveValueRowSnapshot”Category: Low-level runtime
struct BitQuirky.Behavior.Editor.BehaviorLiveValueRowSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:404-511
Snapshot of one graph-held value row the Behavior Tree inspector’s live value presenter renders: a Blackboard field, or the selected Task node’s own authored comparison constant .
Responsibilities:
- Carry the exact target slot, a display label, the baked type code, the current effective value as formatted text, whether this instance’s capability can write it, whether the host rather than the graph owns it, and whether an accepted live edit is currently active for this slot.
- Stay a plain value type with no methods.
Does NOT:
- Carry a refusal reason; a refused commit is a client-side, presenter-local fact, not a durable artifact or runtime property.
Members
Section titled “Members”AuthoredDisplayValue
Section titled “AuthoredDisplayValue”public string AuthoredDisplayValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:505
The saved graph’s authored value, formatted for display, for a slot whose live edit sits in a separate overlay (Task and State constants); empty for a Blackboard slot, whose live edit writes the instance’s own storage and keeps no authored counterpart.
Collection
Section titled “Collection”public BitQuirky.Behavior.Editor.BehaviorLiveValueCollectionSnapshot CollectionSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:463
The live elements of a carried list or array row, which the rail edits with the Blackboard panel’s collection editor; null for every other row.
DisplayValue
Section titled “DisplayValue”public string DisplayValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:466
Current effective value, already formatted for display.
EnumType
Section titled “EnumType”public System.Type EnumTypeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:419
The declared enum type of a Blackboard slot that stores an enum in its underlying integer, so the row reads and edits the enum’s member names; null for every other slot.
FieldLabel
Section titled “FieldLabel”public string FieldLabelSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:510
The parameter a node-parameter row edits, named beneath the node’s label (a Wait’s Seconds, a Repeat’s Count); empty for every other row, whose field the family names.
FullDisplayValue
Section titled “FullDisplayValue”public string FullDisplayValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:473
The complete reading whenDisplayValueabbreviates it – a list or array with more elements than the row shows, stated with every element; empty when DisplayValueis already complete.
HasActiveOverride
Section titled “HasActiveOverride”public bool HasActiveOverrideSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:498
Whether an accepted live edit is currently the effective value of this slot (the
Task family’s overlayHasOverride; always false for the Blackboard family,
which carries no separate override flag from its own current value).
HeldObject
Section titled “HeldObject”public UnityEngine.Object HeldObjectSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:458
The object an ObjectType row holds right now; null is None.
IsHostOwned
Section titled “IsHostOwned”public bool IsHostOwnedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:491
Whether the graph never writes this slot (BakedBlackboardSlot.AcceptsLiveEdit
is clear), so the host owns it and the capability refuses a live edit as host
authoritative; always false for Task and State rows. A slot the graph writes whose type
has no live payload is not writable and not host owned.
IsNonValue
Section titled “IsNonValue”public bool IsNonValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:480
WhetherDisplayValueholds no value – the none token,
missing (Type), or a stated reading such as (type not loaded)– so the
row paints it in the quiet non-value ink instead of the ink a value reads in.
IsText
Section titled “IsText”public bool IsTextSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:444
Whether the row holds one declaredstring, edited as text and committed as a
FromTextpayload.
IsWritable
Section titled “IsWritable”public bool IsWritableSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:483
Whether this instance’s live value capability can currently write this slot.
public string LabelSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:410
Author-facing row label: the field name, or the owning node’s display name.
ObjectType
Section titled “ObjectType”public System.Type ObjectTypeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:456
The declared type of a row holding one Unity object or interface reference, edited with the object field and committed as a FromObjectpayload; null for every other row.
SharedName
Section titled “SharedName”public string SharedNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:432
The shared value’s name when the slot holds the value a shared numeric source writes, which every reader of that source shares; null for every value private to the instance. An edit of this row changes the shared value itself.
StructByteSize
Section titled “StructByteSize”public int StructByteSizeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:439
The native byte size of a StructKind slot, which an edit must fill exactly.
StructKind
Section titled “StructKind”public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind StructKindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:426
The value kind of a Blackboard slot holding one value with parts the rail edits with its component editor (a vector, quaternion, color, rect, or bounds) or a carried project struct with its fields editor; Unknownfor every other slot.
StructPayload
Section titled “StructPayload”public string StructPayloadSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:437
The current value of a StructKind slot as its canonical field block.
StructType
Section titled “StructType”public System.Type StructTypeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:435
The declared type of a StructKindslot, which a project struct’s fields editor and encoder read; null for every other slot.
Target
Section titled “Target”public BitQuirky.Behavior.Member.BehaviorLiveValueTarget TargetSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:407
The exact slot this row addresses.
TextPayload
Section titled “TextPayload”public string TextPayloadSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:449
The current value of anIsTextrow in its canonical spelling: quoted
text, ornone.
TypeCode
Section titled “TypeCode”public BitQuirky.Behavior.Baked.BakedFieldTypeCode TypeCodeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:413
Baked storage type of the value.
BehaviorManagedBlackboardFieldSnapshot
Section titled “BehaviorManagedBlackboardFieldSnapshot”Category: Low-level runtime
struct BitQuirky.Behavior.Editor.BehaviorManagedBlackboardFieldSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:92-113
Snapshot of one managed companion value a running GameObject instance holds, surfaced in the Live Blackboard beside the native slots.
Responsibilities:
- Carry the declared name, the declared type spelling and kind, the instance’s own current reading, the saved reading, and every element or entry the value currently holds.
Does NOT:
- Carry a Host or Client authority: the bake assigns none to a managed value, so the value is stated as this running instance’s own.
Members
Section titled “Members”DisplayValue
Section titled “DisplayValue”public string DisplayValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:103
The instance’s current reading, abbreviated after the shown elements.
FieldName
Section titled “FieldName”public string FieldNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:95
Declared variable name.
FullDisplayValue
Section titled “FullDisplayValue”public string FullDisplayValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:105
The complete reading when DisplayValue abbreviates it; otherwise empty.
IsNonValue
Section titled “IsNonValue”public bool IsNonValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:107
Whether the reading holds no value: none, missing, or a stated failure.
public System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string, string>> PartsSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:111-112
Every element (index, reading) or entry (key, value) the instance holds.
SavedValue
Section titled “SavedValue”public string SavedValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:109
The saved value’s reading, as the Static Blackboard row reads it.
public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShape ShapeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:101
Declared outer shape.
TypeLabel
Section titled “TypeLabel”public string TypeLabelSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:97
Declared type spelling, for example Dictionary<Guid, string>.
ValueKind
Section titled “ValueKind”public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind ValueKindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:99
Declared element representation kind.
BehaviorPendingExternalSnapshot
Section titled “BehaviorPendingExternalSnapshot”Category: Low-level runtime
struct BitQuirky.Behavior.Editor.BehaviorPendingExternalSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:148-160
Snapshot of a single pending external command, surfaced from a binding to the debugger’s “Pending Externals” panel.
Responsibilities:
- Carry the service identifier, command id, pending id, and frame issued so the inspector row can render the request and compute a relative age.
Members
Section titled “Members”CommandId
Section titled “CommandId”public int CommandIdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:155
Baked id of the issued command.
FrameIssued
Section titled “FrameIssued”public int FrameIssuedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:159
Frame the request was issued on, which the panel turns into a relative age.
PendingId
Section titled “PendingId”public int PendingIdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:157
Id the runtime will quote when the result arrives.
ServiceId
Section titled “ServiceId”public int ServiceIdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:151
Baked id of the service the command was issued to.
ServiceName
Section titled “ServiceName”public string ServiceNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:153
Author-facing service name.
BehaviorRandomSelectorBranch
Section titled “BehaviorRandomSelectorBranch”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranchSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:45-81
One Random Selector branch as the author reads it: participation, authored weight, and the derived first-pick share.
Responsibilities:
- Carry the branch identity, participation switch, authored weight text, and share.
Does NOT:
- Mutate a document or describe runtime selection for a pass already in flight.
Members
Section titled “Members”ChildId
Section titled “ChildId”public string ChildId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:65
Gets the branch child node id.
Enabled
Section titled “Enabled”public bool Enabled { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:68
Gets whether the author has this branch switched on.
FirstPick
Section titled “FirstPick”public float FirstPick { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:77
Gets the first-pick share in the range 0 to 1.
Readout
Section titled “Readout”public BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranchReadout Readout { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:80
Gets how this branch reads to the author.
UnusableWeightText
Section titled “UnusableWeightText”public string UnusableWeightText { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:74
Gets the verbatim authored weight text when it cannot be used.
Weight
Section titled “Weight”public float? Weight { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:71
Gets the usable authored weight, absent when the text cannot be used.
BehaviorRandomSelectorBranch(string childId, bool enabled, float? weight, string unusableWeightText, float firstPick, BehaviorRandomSelectorBranchReadout readout)
Section titled “BehaviorRandomSelectorBranch(string childId, bool enabled, float? weight, string unusableWeightText, float firstPick, BehaviorRandomSelectorBranchReadout readout)”public BehaviorRandomSelectorBranch(string childId, bool enabled, float? weight, string unusableWeightText, float firstPick, BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranchReadout readout)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:48-62
Creates one immutable branch reading.
BehaviorRandomSelectorBranchModel
Section titled “BehaviorRandomSelectorBranchModel”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranchModelSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:95-339
Reads a Random Selector’s branches from authored source and derives the first-pick share every authoring surface reports.
Responsibilities:
- Collect branches in canvas order with their participation and authored weight.
- Normalize the first-pick share across enabled branches with usable positive weights.
- Supply the exact inspector and canvas wording for every branch reading.
Does NOT:
- Mutate a document, execute an edit command, or model a live selection pass.
Members
Section titled “Members”NeverLabel
Section titled “NeverLabel”public const string NeverLabel = "Never"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:98
The Branches card reading for a branch that can never be picked.
NotIncludedLabel
Section titled “NotIncludedLabel”public const string NotIncludedLabel = "Not included"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:101
The Branches card reading for an unusable authored weight.
NotUsedLabel
Section titled “NotUsedLabel”public const string NotUsedLabel = "Not used"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:104
The Branches card reading for a switched-off branch.
Collect(BehaviorSourceAst ast, string selectorId)
Section titled “Collect(BehaviorSourceAst ast, string selectorId)”public static System.Collections.Generic.List<BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch> Collect(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string selectorId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:120-155
Collects one Random Selector’s branches in authored child order. Only enabled branches with a usable positive weight contribute to the first-pick denominator, so a switched-off or unusable branch never silently changes another branch’s share. A usable positive Direct failure weight joins that same denominator, because the branches and the failure outcome are drawn from one weighted set.
CountEnabled(IReadOnlyList<BehaviorRandomSelectorBranch> branches)
Section titled “CountEnabled(IReadOnlyList<BehaviorRandomSelectorBranch> branches)”public static int CountEnabled(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch> branches)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:177-185
Counts the branches the author currently has switched on.
FormatBranchesCardReadout(in BehaviorRandomSelectorBranch branch)
Section titled “FormatBranchesCardReadout(in BehaviorRandomSelectorBranch branch)”public static string FormatBranchesCardReadout(in BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch branch)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:249-258
Formats the Branches card reading for one branch.
FormatCanvasChip(in BehaviorRandomSelectorBranch branch)
Section titled “FormatCanvasChip(in BehaviorRandomSelectorBranch branch)”public static string FormatCanvasChip(in BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch branch)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:263-283
Formats the canvas branch chip so likelihood is readable without selecting a child.
FormatFirstPickPercent(float share)
Section titled “FormatFirstPickPercent(float share)”public static string FormatFirstPickPercent(float share)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:318-321
Formats one first-pick share. Percentages round to one decimal only when needed and derive from the same exact denominator every surface states.
FormatNextPickPercent(float share)
Section titled “FormatNextPickPercent(float share)”public static string FormatNextPickPercent(float share)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:327-330
Formats one next-pick share for the pass in flight, using the same precision rule as the first pick.
FormatNumber(double value)
Section titled “FormatNumber(double value)”public static string FormatNumber(double value)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:237-246
Formats one authored weight or denominator term. A whole value reads as an integer so the stated denominator matches the weights the author typed.
FormatWeight(in BehaviorRandomSelectorBranch branch)
Section titled “FormatWeight(in BehaviorRandomSelectorBranch branch)”public static string FormatWeight(in BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch branch)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:222-231
Formats the authored weight exactly as the author should read it back.
HasPickableBranch(IReadOnlyList<BehaviorRandomSelectorBranch> branches)
Section titled “HasPickableBranch(IReadOnlyList<BehaviorRandomSelectorBranch> branches)”public static bool HasPickableBranch(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch> branches)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:191-203
Returns whether at least one enabled branch carries a usable weight greater than zero. A dormant weight on a switched-off branch never rescues the composite.
TotalUsableWeight(IReadOnlyList<BehaviorRandomSelectorBranch> branches)
Section titled “TotalUsableWeight(IReadOnlyList<BehaviorRandomSelectorBranch> branches)”public static double TotalUsableWeight(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch> branches)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:206-219
Sums the usable positive weight across every enabled branch.
BehaviorRandomSelectorBranchReadout
Section titled “BehaviorRandomSelectorBranchReadout”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranchReadoutSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:20-33
Underlying type: int
How one Random Selector branch reads when the author looks at it.
Responsibilities:
- Name the four mutually exclusive branch participation readings.
Does NOT:
- Carry wording, colour, or layout for any surface.
Members
Section titled “Members”FirstPick
Section titled “FirstPick”FirstPick = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:23
The branch participates and holds a share of the first pick.
Never = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:26
The branch participates with weight zero and can never be picked.
NotIncluded
Section titled “NotIncluded”NotIncluded = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:29
The branch participates but its authored weight cannot be used.
NotUsed
Section titled “NotUsed”NotUsed = 3Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:32
The branch is switched off, so its authored weight stays dormant.
BehaviorRandomSelectorDirectFailure
Section titled “BehaviorRandomSelectorDirectFailure”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailureSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:44-81
The Random Selector’s optional Direct failure outcome as the author reads it.
Responsibilities:
- Carry presence, the usable weight, the verbatim unusable saved text, and the share.
Does NOT:
- Mutate a document, own an Enabled state, or model a child node. Direct failure is one non-child outcome whose presence and Remove alone control participation.
Members
Section titled “Members”FirstPick
Section titled “FirstPick”public float FirstPick { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:71
Gets the first-pick share in the range 0 to 1.
Pickable
Section titled “Pickable”public bool Pickable { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:80
Gets whether this outcome contributes to a draw. Only a present, usable weight greater than zero can ever be picked.
Present
Section titled “Present”public bool Present { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:62
Gets whether the outcome is in the weighted set at all.
Readout
Section titled “Readout”public BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailureReadout Readout { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:74
Gets how this outcome reads to the author.
UnusableWeightText
Section titled “UnusableWeightText”public string UnusableWeightText { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:68
Gets the verbatim saved weight text when it cannot be used.
Weight
Section titled “Weight”public float? Weight { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:65
Gets the usable saved weight, absent when the text cannot be used.
BehaviorRandomSelectorDirectFailure(bool present, float? weight, string unusableWeightText, float firstPick, BehaviorRandomSelectorDirectFailureReadout readout)
Section titled “BehaviorRandomSelectorDirectFailure(bool present, float? weight, string unusableWeightText, float firstPick, BehaviorRandomSelectorDirectFailureReadout readout)”public BehaviorRandomSelectorDirectFailure(bool present, float? weight, string unusableWeightText, float firstPick, BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailureReadout readout)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:47-59
Creates one immutable Direct failure reading.
BehaviorRandomSelectorDirectFailureModel
Section titled “BehaviorRandomSelectorDirectFailureModel”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailureModelSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:199-609
Reads the Random Selector’s optional Direct failure outcome from authored source and derives every readout it shares with the Branches rows.
Responsibilities:
- Collect the outcome’s presence, saved weight, and first-pick share from one shared denominator with the enabled branches.
- Supply the exact inspector and canvas wording for every Direct failure reading, the stated first-pick and next-pick denominators, and the live pass readings.
Does NOT:
- Mutate a document, execute an edit command, or read a runtime instance.
Members
Section titled “Members”AddOutcomeGlyph
Section titled “AddOutcomeGlyph”public const string AddOutcomeGlyph = "+"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:214
The glyph of the command that puts the outcome into the weighted set.
AddOutcomeLabel
Section titled “AddOutcomeLabel”public const string AddOutcomeLabel = "Add outcome."Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:208
The tooltip of the + command that puts the outcome into the weighted set.
AddedWeightText
Section titled “AddedWeightText”public const string AddedWeightText = "1"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:217
The weight a newly added Direct failure outcome starts at.
DroppedLabel
Section titled “DroppedLabel”public const string DroppedLabel = "Dropped"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:223
The live reading for a branch that was drawn and failed.
LastOutcomeDirectFailurePicked
Section titled “LastOutcomeDirectFailurePicked”public const string LastOutcomeDirectFailurePicked = "Direct failure · picked"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:232
The Runtime card reading when Direct failure ended the pass.
NoChildRunsLabel
Section titled “NoChildRunsLabel”public const string NoChildRunsLabel = "No child runs"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:238
The canvas reading for a Direct failure outcome that states no child runs.
NotAddedLabel
Section titled “NotAddedLabel”public const string NotAddedLabel = "Not added"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:205
The card reading for an outcome that is not in the weighted set.
NotReachedLabel
Section titled “NotReachedLabel”public const string NotReachedLabel = "Not reached"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:226
The live reading for an outcome the pass ended before running.
OutcomeLabel
Section titled “OutcomeLabel”public const string OutcomeLabel = "Direct failure"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:202
The row label for the Direct failure outcome.
PickedLabel
Section titled “PickedLabel”public const string PickedLabel = "Picked"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:220
The live reading for the outcome or branch that was drawn.
RePickingLabel
Section titled “RePickingLabel”public const string RePickingLabel = "Re-picking"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:229
The live reading for the selector between draws.
RemoveOutcomeLabel
Section titled “RemoveOutcomeLabel”public const string RemoveOutcomeLabel = "Remove outcome."Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:211
The tooltip of the × command that returns the outcome to absent.
TerminalTileCaption
Section titled “TerminalTileCaption”public const string TerminalTileCaption = "Pass ended"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:235
The canvas caption on the Direct failure terminal tile.
Collect(BehaviorSourceAst ast, string selectorId)
Section titled “Collect(BehaviorSourceAst ast, string selectorId)”public static BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailure Collect(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string selectorId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:252-287
Collects one Random Selector’s Direct failure outcome. The share divides by the same denominator the enabled branches divide by, so one draw reads down one set of columns and a present zero contributes nothing without changing a branch.
CollectLive(IReadOnlyList<BehaviorRandomSelectorBranch> branches, in BehaviorRandomSelectorDirectFailure directFailure, in BehaviorRandomSelectorLiveState liveState)
Section titled “CollectLive(IReadOnlyList<BehaviorRandomSelectorBranch> branches, in BehaviorRandomSelectorDirectFailure directFailure, in BehaviorRandomSelectorLiveState liveState)”public static System.Collections.Generic.List<BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveOutcome> CollectLive(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch> branches, in BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailure directFailure, in BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveState liveState)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:413-467
Collects every outcome’s live reading for the pass in flight, in canvas branch order with the Direct failure outcome last. Shares divide by the next-pick denominator.
FormatCanvasChip(in BehaviorRandomSelectorDirectFailure directFailure)
Section titled “FormatCanvasChip(in BehaviorRandomSelectorDirectFailure directFailure)”public static string FormatCanvasChip(in BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailure directFailure)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:337-358
Formats the canvas chip on the shared chip row so the failure outcome’s likelihood reads without selecting the selector.
FormatCardReadout(in BehaviorRandomSelectorDirectFailure directFailure)
Section titled “FormatCardReadout(in BehaviorRandomSelectorDirectFailure directFailure)”public static string FormatCardReadout(in BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailure directFailure)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:316-331
Formats the Branches card reading for the Direct failure outcome.
FormatFirstPickDenominator(IReadOnlyList<BehaviorRandomSelectorBranch> branches, in BehaviorRandomSelectorDirectFailure directFailure)
Section titled “FormatFirstPickDenominator(IReadOnlyList<BehaviorRandomSelectorBranch> branches, in BehaviorRandomSelectorDirectFailure directFailure)”public static string FormatFirstPickDenominator(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch> branches, in BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailure directFailure)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:365-381
States the exact first-pick denominator the shown percentages divide by, with the Direct failure term named so the author can see what it contributes. Returns an empty string when nothing can be picked and there is no denominator to state.
FormatLiveReadout(in BehaviorRandomSelectorLiveOutcome outcome)
Section titled “FormatLiveReadout(in BehaviorRandomSelectorLiveOutcome outcome)”public static string FormatLiveReadout(in BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveOutcome outcome)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:470-486
Formats one live outcome’s reading for the inspector and the canvas.
FormatNextPickDenominator(IReadOnlyList<BehaviorRandomSelectorBranch> branches, in BehaviorRandomSelectorDirectFailure directFailure, in BehaviorRandomSelectorLiveState liveState)
Section titled “FormatNextPickDenominator(IReadOnlyList<BehaviorRandomSelectorBranch> branches, in BehaviorRandomSelectorDirectFailure directFailure, in BehaviorRandomSelectorLiveState liveState)”public static string FormatNextPickDenominator(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch> branches, in BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailure directFailure, in BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveState liveState)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:387-407
States the exact next-pick denominator for the pass in flight: only the outcomes still eligible for the next draw contribute.
FormatNotReachedSummary(IReadOnlyList<BehaviorRandomSelectorLiveOutcome> outcomes)
Section titled “FormatNotReachedSummary(IReadOnlyList<BehaviorRandomSelectorLiveOutcome> outcomes)”public static string FormatNotReachedSummary(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveOutcome> outcomes)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:492-511
States how many branches the pass ended without reaching, for the Runtime card. Returns an empty string when every branch was either tried or unusable.
FormatWeight(in BehaviorRandomSelectorDirectFailure directFailure)
Section titled “FormatWeight(in BehaviorRandomSelectorDirectFailure directFailure)”public static string FormatWeight(in BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailure directFailure)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:302-313
Formats the saved weight exactly as the author should read it back.
HasPickableOutcome(IReadOnlyList<BehaviorRandomSelectorBranch> branches, in BehaviorRandomSelectorDirectFailure directFailure)
Section titled “HasPickableOutcome(IReadOnlyList<BehaviorRandomSelectorBranch> branches, in BehaviorRandomSelectorDirectFailure directFailure)”public static bool HasPickableOutcome(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch> branches, in BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailure directFailure)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:293-299
Returns whether any present weighted outcome can be picked: an enabled branch with a usable weight greater than zero, or a positive Direct failure weight on its own.
BehaviorRandomSelectorDirectFailureReadout
Section titled “BehaviorRandomSelectorDirectFailureReadout”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailureReadoutSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:19-32
Underlying type: int
How the Random Selector’s optional Direct failure outcome reads to the author.
Responsibilities:
- Name the four mutually exclusive Direct failure participation readings.
Does NOT:
- Carry wording, colour, or layout for any surface.
Members
Section titled “Members”Absent
Section titled “Absent”Absent = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:22
The outcome is not in the weighted set and offers Add outcome.
FirstPick
Section titled “FirstPick”FirstPick = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:25
The outcome holds a share of the pick.
Never = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:28
The outcome is present with weight zero and can never be picked.
NotIncluded
Section titled “NotIncluded”NotIncluded = 3Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:31
The outcome is present but its saved weight cannot be used.
BehaviorRandomSelectorLiveOutcome
Section titled “BehaviorRandomSelectorLiveOutcome”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveOutcomeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:119-145
One Random Selector outcome in the live pass, with the share of the next draw it holds.
Responsibilities:
- Carry the outcome identity, its live state, and its next-pick share.
Does NOT:
- Mutate anything. Live recalculation writes nothing and creates no undo step.
Members
Section titled “Members”ChildId
Section titled “ChildId”public string ChildId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:135
Gets the branch child id, empty for the Direct failure outcome.
IsDirectFailure
Section titled “IsDirectFailure”public bool IsDirectFailure { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:138
Gets whether this reading is the Direct failure outcome.
NextPick
Section titled “NextPick”public float NextPick { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:141
Gets the share of the next draw, in the range 0 to 1.
public BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveOutcomeState State { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:144
Gets what this outcome is doing in the pass.
BehaviorRandomSelectorLiveOutcome(string childId, bool isDirectFailure, float nextPick, BehaviorRandomSelectorLiveOutcomeState state)
Section titled “BehaviorRandomSelectorLiveOutcome(string childId, bool isDirectFailure, float nextPick, BehaviorRandomSelectorLiveOutcomeState state)”public BehaviorRandomSelectorLiveOutcome(string childId, bool isDirectFailure, float nextPick, BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveOutcomeState state)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:122-132
Creates one immutable live outcome reading.
BehaviorRandomSelectorLiveOutcomeState
Section titled “BehaviorRandomSelectorLiveOutcomeState”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveOutcomeStateSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:92-108
Underlying type: int
What one Random Selector outcome is doing in the pass the author is watching.
Responsibilities:
- Name the five mutually exclusive live outcome states.
Does NOT:
- Carry wording or decide which surface shows it.
Members
Section titled “Members”Dropped
Section titled “Dropped”Dropped = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:101
The outcome was drawn, failed, and left the candidate set.
Eligible
Section titled “Eligible”Eligible = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:95
The outcome is still in the next draw.
NotReached
Section titled “NotReached”NotReached = 3Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:104
The pass ended before this outcome ran.
NotUsed
Section titled “NotUsed”NotUsed = 4Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:107
The outcome was never in this pass at all.
Picked
Section titled “Picked”Picked = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:98
The outcome was drawn and is the current one.
BehaviorRandomSelectorLiveState
Section titled “BehaviorRandomSelectorLiveState”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveStateSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:158-184
The live selector state one running instance reports for the selected Random Selector.
Responsibilities:
- Carry whether the selector owns the current pass, which children remain candidates, which outcome is current, and whether Direct failure ended the pass.
Does NOT:
- Read a runtime instance or an artifact. The caller projects both into this shape so the live model stays a pure function of observable state.
Members
Section titled “Members”CandidateMask
Section titled “CandidateMask”public ulong CandidateMask { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:177
Gets the remaining child candidate mask, keyed by branch order.
DirectFailurePicked
Section titled “DirectFailurePicked”public bool DirectFailurePicked { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:183
Gets whether Direct failure was drawn and ended the pass.
PassActive
Section titled “PassActive”public bool PassActive { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:174
Gets whether this selector currently owns a pass in flight.
SelectedSourceOrder
Section titled “SelectedSourceOrder”public int SelectedSourceOrder { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:180
Gets the branch order of the current pick, or -1 when none.
BehaviorRandomSelectorLiveState(bool passActive, ulong candidateMask, int selectedSourceOrder, bool directFailurePicked)
Section titled “BehaviorRandomSelectorLiveState(bool passActive, ulong candidateMask, int selectedSourceOrder, bool directFailurePicked)”public BehaviorRandomSelectorLiveState(bool passActive, ulong candidateMask, int selectedSourceOrder, bool directFailurePicked)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:161-171
Creates one immutable live selector state.
BehaviorRecentEventSnapshot
Section titled “BehaviorRecentEventSnapshot”Category: Low-level runtime
struct BitQuirky.Behavior.Editor.BehaviorRecentEventSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:178-188
Snapshot of one recent transition / event row for the editor inspector.
Members
Section titled “Members”public string KindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:181
Short kind tag that selects the row glyph.
public string LabelSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:183
Row label shown in the inspector.
Tooltip
Section titled “Tooltip”public string TooltipSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:187
Full text shown when hovering the row.
public string ValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:185
Row value already formatted for display.
BehaviorSelectedNodeDetailSnapshot
Section titled “BehaviorSelectedNodeDetailSnapshot”Category: Low-level runtime
struct BitQuirky.Behavior.Editor.BehaviorSelectedNodeDetailSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:165-173
Snapshot of one selected-node detail row for the editor inspector.
Members
Section titled “Members”public string LabelSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:168
Row label shown in the inspector.
Tooltip
Section titled “Tooltip”public string TooltipSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:172
Full text shown when hovering the row.
public string ValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:170
Row value already formatted for display.
BehaviorSharedNumericFieldSnapshot
Section titled “BehaviorSharedNumericFieldSnapshot”Category: Low-level runtime
struct BitQuirky.Behavior.Editor.BehaviorSharedNumericFieldSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:129-137
Snapshot of the one blackboard field an explicitly injected IBehaviorSharedNumericSourcewrites, surfaced from a binding’sIBehaviorSharedNumericDebugCapabilityto the selected running graph’s debugger.
Responsibilities:
- Carry the bound field name, the source’s shared identity and its current value so the debugger can render one row identified as shared rather than private.
- Remain a value-type with no behavior.
Does NOT:
- Encode the edit-through write itself; the capability’s own method does that.
Members
Section titled “Members”CurrentValue
Section titled “CurrentValue”public float CurrentValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:136
Current shared value.
FieldName
Section titled “FieldName”public string FieldNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:132
Name of the blackboard field this shared value is bound to.
SharedName
Section titled “SharedName”public string SharedNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:134
The injected source’s shared identity, distinguishing it from a private value.
BehaviorSourceSaveState
Section titled “BehaviorSourceSaveState”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorSourceSaveStateSource declaration: Packages/io.bitquirky.behavior/Editor/Persistence/BehaviorSourceSaveQueue.cs:20-36
Underlying type: int
Observable persistence state for one Static behavior source.
Responsibilities:
- Distinguish durable source, queued work, active writes, conflicts, and failures.
Does NOT:
- Describe bake freshness or validation state.
Members
Section titled “Members”Conflict
Section titled “Conflict”Conflict = 3Source declaration: Packages/io.bitquirky.behavior/Editor/Persistence/BehaviorSourceSaveQueue.cs:32
The file changed outside the editor since it was read, so the write was refused rather than overwriting it.
Failed
Section titled “Failed”Failed = 4Source declaration: Packages/io.bitquirky.behavior/Editor/Persistence/BehaviorSourceSaveQueue.cs:35
The write failed; the queue carries the reason.
Queued
Section titled “Queued”Queued = 1Source declaration: Packages/io.bitquirky.behavior/Editor/Persistence/BehaviorSourceSaveQueue.cs:26
A write is scheduled and has not started yet.
Saved = 0Source declaration: Packages/io.bitquirky.behavior/Editor/Persistence/BehaviorSourceSaveQueue.cs:23
The file on disk matches the edited source; nothing is pending.
Saving
Section titled “Saving”Saving = 2Source declaration: Packages/io.bitquirky.behavior/Editor/Persistence/BehaviorSourceSaveQueue.cs:29
A write is in flight.
BehaviorTreeBlackboardPanel
Section titled “BehaviorTreeBlackboardPanel”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeBlackboardPanelSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:48-1478
Inherits: VisualElement
Blackboard panel body for the redesigned Behavior Tree Editor.
Responsibilities:
- Render the authoring surface for a bound document: the path-aware sub-line, the Variables section above the Member bindings band and group in one rail panel over one name space, and the first-use statement that bindings still surface on their own.
- Own the graph’s Runtime path for the rows beneath it, so a carried declaration states how the entity path stores it and a declaration the path cannot carry reports the one canonical no-entity-storage wording while staying editable.
- Raise declare, remove and change-type intent from the Variables section so the window routes it through the undoable edit commands.
- Render the live debugging surface’s blackboard fields as rows grouped by owner, with case-insensitive field search, owner filters, row pinning, type/owner chips, request-id links, recent-change tinting, and default-value dimming.
- Lead those rows with a Shared group when the followed graph binds a shared value: one editable live value card that names its shared source, listed there and never again among the private rows.
- Expose Static-mode safe-literal default edits through OnDefaultValueChangedso the window can route them throughBehaviorTreeEditingSession.
Does NOT:
- Show the authoring and live surfaces at once. One panel never renders two ideas of one blackboard.
- Talk to the behavior runtime or bake source files.
- Interpret pending request payloads. It only raises the request id the inspector/window can focus.
Members
Section titled “Members”EntryCount
Section titled “EntryCount”public int EntryCount { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:189-191
Number of rows the panel currently shows: live field count while following a runtime, and the authored entry count otherwise.
HasBakeBlockingTypelessRow
Section titled “HasBakeBlockingTypelessRow”public bool HasBakeBlockingTypelessRow { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:209
Gets whether the panel holds the one new-row state that blocks the bake: a real typeless row is required until its type is chosen.
VariableCount
Section titled “VariableCount”public int VariableCount { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:194
Gets how many variables the bound graph declares.
VariablesSection
Section titled “VariablesSection”public BitQuirky.Behavior.Editor.BehaviorTreeBlackboardVariablesSection VariablesSection { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:203
Gets the Variables section, which owns every declared row.
OnBindMemberRequested
Section titled “OnBindMemberRequested”public event System.Action OnBindMemberRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:142
Raised when the author asks to bind a member directly from the blackboard.
OnChangeVariableTypeRequested
Section titled “OnChangeVariableTypeRequested”public event System.Action<string> OnChangeVariableTypeRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:162
Raised when the author opens the type selector from a variable’s type chip.
OnDeclareVariableRequested
Section titled “OnDeclareVariableRequested”public event System.Action OnDeclareVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:156
Raised when the author asks for a new declared variable.
OnDefaultValueChanged
Section titled “OnDefaultValueChanged”public event System.Action<string, BitQuirky.Behavior.Baked.BakedFieldTypeCode, string> OnDefaultValueChangedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:137
Raised when the author edits a Static default value. Carries the field name, its baked type, and the new value as source text.
OnFaultRecoveryRequested
Section titled “OnFaultRecoveryRequested”public event System.Action<BitQuirky.Behavior.Editor.BlackboardFault, string> OnFaultRecoveryRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:176
Raised when an inline blackboard fault recovery is chosen.
OnMemberGoToNodeRequested
Section titled “OnMemberGoToNodeRequested”public event System.Action<string> OnMemberGoToNodeRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:153
Raised when a surfaced row’s origin asks to select the node that produces it.
OnMemberRenameRequested
Section titled “OnMemberRenameRequested”public event System.Action<string, string> OnMemberRenameRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:145
Raised when a surfaced member binding is renamed.
OnMemberUnbindRequested
Section titled “OnMemberUnbindRequested”public event System.Action<string> OnMemberUnbindRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:148
Raised when a surfaced member binding is unbound.
OnRemoveVariableRequested
Section titled “OnRemoveVariableRequested”public event System.Action<string> OnRemoveVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:159
Raised when the author asks to remove one declared variable.
OnRenameVariableRequested
Section titled “OnRenameVariableRequested”public event System.Action<string, string> OnRenameVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:165
Raised when a valid variable rename commits, old name first.
OnRequestIdFocusRequested
Section titled “OnRequestIdFocusRequested”public event System.Action<int> OnRequestIdFocusRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:139
Raised with a pending-request id when the author clicks a request value, asking the window to focus the node awaiting it.
OnRevalueVariableRequested
Section titled “OnRevalueVariableRequested”public event System.Action<string, string> OnRevalueVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:168
Raised when a value control writes a new canonical payload.
OnValueEditRequested
Section titled “OnValueEditRequested”public event System.Action<BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest> OnValueEditRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:173
Raised when a collection or instance control asks for one structural edit.
OnVariablesRendered
Section titled “OnVariablesRendered”public event System.Action OnVariablesRenderedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:182
Raised after the Variables section rebuilds its rows, so the host can restyle the new elements at once.
BehaviorTreeBlackboardPanel()
Section titled “BehaviorTreeBlackboardPanel()”public BehaviorTreeBlackboardPanel()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:220-223
Builds the panel against the current editor-domain shared-name index. The authoring surface starts hidden until a document is bound, so a bare panel keeps its live-only behavior.
FocusSearch()
Section titled “FocusSearch()”public void FocusSearch()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:791-794
Moves keyboard focus to the panel search field.
MarkLiveValuesDetached()
Section titled “MarkLiveValuesDetached()”public void MarkLiveValuesDetached()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:645-661
Clears the Live value rows to the governed cleared reading when the runtime they followed is gone. The last numbers a destroyed instance happened to hold are not a live reading, so they are never left on screen as if they were. The next attached UpdateRowsrestores real values.
SetSharedNumericField(BehaviorSharedNumericFieldSnapshot? field, Func<float, bool> onValueEdited)
Section titled “SetSharedNumericField(BehaviorSharedNumericFieldSnapshot? field, Func<float, bool> onValueEdited)”public void SetSharedNumericField(BitQuirky.Behavior.Editor.BehaviorSharedNumericFieldSnapshot? field, System.Func<float, bool> onValueEdited)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:672-742
Shows, hides, or updates the Live shared value card: the one blackboard field an
explicitly injected
IBehaviorSharedNumericSourcewrites,
listed in its own Shared group ahead of the private rows and never again among them,
with its current value editable through to that backing source. A value that changes
between readings, from an edit here or anywhere else, carries the recent-change tint
the private rows use. Hides the card whenfieldis null.
UpdateManagedRows(IReadOnlyList<BehaviorManagedBlackboardFieldSnapshot> fields)
Section titled “UpdateManagedRows(IReadOnlyList<BehaviorManagedBlackboardFieldSnapshot> fields)”public void UpdateManagedRows(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorManagedBlackboardFieldSnapshot> fields)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:483-517
Shows every managed companion value the followed instance holds, in authored order, in their own group beside the native rows. A refresh that keeps the same variables updates the rows in place, so following a runtime never rebuilds the hierarchy.
UpdateMemberBindings(BehaviorSourceDocument document, bool isLive, bool allowStaticEdits)
Section titled “UpdateMemberBindings(BehaviorSourceDocument document, bool isLive, bool allowStaticEdits)”public void UpdateMemberBindings(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, bool isLive, bool allowStaticEdits)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:461-476
Updates the surfaced member bindings group from the document. The group is shown in Static authoring whenever the graph has any member binding.
UpdateRows(IReadOnlyList<BehaviorBlackboardFieldSnapshot> fields, bool isLive, bool allowStaticEdits, Func<string, string> defaultValueResolver, bool showStoredValuesWhenNotLive)
Section titled “UpdateRows(IReadOnlyList<BehaviorBlackboardFieldSnapshot> fields, bool isLive, bool allowStaticEdits, Func<string, string> defaultValueResolver, bool showStoredValuesWhenNotLive)”public void UpdateRows(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorBlackboardFieldSnapshot> fields, bool isLive, bool allowStaticEdits, System.Func<string, string> defaultValueResolver, bool showStoredValuesWhenNotLive = false)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:581-637
Replaces the panel contents with the supplied field snapshots. Reuses the existing row elements when a live refresh keeps the same field count, so following a runtime does not rebuild the hierarchy every tick.
BehaviorTreeBlackboardPanelState
Section titled “BehaviorTreeBlackboardPanelState”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeBlackboardPanelStateSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:35-56
Blackboard panel state. Carries search + owner filter + pin set + recent-change timestamps so the panel can re-render itself after refresh.
Responsibilities:
- Track search term, owner filter, pinned field names, and the timestamps at which each field last changed (drives / tint decay).
Does NOT:
- Apply the retention rule; that lives on the recent-events surface, not the Blackboard panel.
Members
Section titled “Members”OwnerFilter
Section titled “OwnerFilter”public BitQuirky.Behavior.Editor.BlackboardOwnerFilter OwnerFilter { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:43
Owner scope the panel filters rows by.
PinnedFields
Section titled “PinnedFields”public System.Collections.Generic.HashSet<string> PinnedFields { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:46
Field names the user explicitly pinned.
RecentChangeTimestamps
Section titled “RecentChangeTimestamps”public System.Collections.Generic.Dictionary<string, double> RecentChangeTimestamps { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:53
Map of field name → last-change timestamp (editor-real-time).
The panel uses this to apply the .bq-tint-recent USS class
for and the persistent marker.
SearchTerm
Section titled “SearchTerm”public string SearchTerm { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:40
Live filter text typed into the panel search field.
BehaviorTreeBlackboardVariablesSection
Section titled “BehaviorTreeBlackboardVariablesSection”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeBlackboardVariablesSectionSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:40-3043
Inherits: VisualElement
The Variables section of the Blackboard panel, in both graph windows.
Responsibilities:
- Render every declared variable in author order as one compact card whose primary line keeps the kind dot, directly editable name, and current/default value together.
- Put declared type identity, namespace, assembly, remove action, path storage facts and any value-with-parts editor behind the card’s one shared right-edge disclosure.
- Keep incomplete type selection, rejected input, faults and recoveries outside collapsed secondary details so authoring never depends on discovering a hidden error state.
- Render the section band with its declared count and its one header “+”, the footer, and the first-use state when nothing is declared yet. The header “+” and the first-use action are the same gesture: exactly one of the two is shown.
- Own the one-gesture creation state: a real typeless row with its placeholder name selected for typing first, its type the next step beneath the name, required and amber until chosen, and the only new-row state that blocks the bake.
- Validate a name as the reference it is, in four states (valid while typing, invalid identifier, already declared, already surfaced by a binding), keeping the prior name on rejection and stating the surfaced-collision outcome on acceptance.
Does NOT:
- Mutate the document. The section raises intent and the window routes it through the existing undoable edit commands.
- Read the runtime, the bake, or a live agent. Every row comes from canonical source.
Members
Section titled “Members”BlocksBake
Section titled “BlocksBake”public bool BlocksBake { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:231
Gets whether the section holds the one new-row state that blocks the bake: a row with no type yet is required, and the bake waits for it.
HasPendingVariable
Section titled “HasPendingVariable”public bool HasPendingVariable { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:222
Gets whether a real typeless row is awaiting its type.
PendingVariableName
Section titled “PendingVariableName”public string PendingVariableName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:225
Gets the pending typeless row’s current name.
VariableCount
Section titled “VariableCount”public int VariableCount { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:219
Gets how many variables the graph declares.
ChangeTypeRequested
Section titled “ChangeTypeRequested”public event System.Action<string> ChangeTypeRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:185
Raised when the author asks for the type selector: from a row’s type chip, or from Enter or Tab on the pending row’s valid name, which hands the run to the selector.
DeclareVariableRequested
Section titled “DeclareVariableRequested”public event System.Action DeclareVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:176
Raised when the author asks for a new variable through either affordance.
FaultRecoveryRequested
Section titled “FaultRecoveryRequested”public event System.Action<BitQuirky.Behavior.Editor.BlackboardFault, string> FaultRecoveryRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:206
Raised when a fault’s inline recovery is chosen, with the exact fault and the exact recovery label, so the window applies it as one undoable edit.
GoToVariableRequested
Section titled “GoToVariableRequested”public event System.Action<string> GoToVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:200
Raised when the author takes a go-to recovery to the named variable.
RemoveVariableRequested
Section titled “RemoveVariableRequested”public event System.Action<string> RemoveVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:179
Raised when the author asks to remove the named variable.
RenameVariableRequested
Section titled “RenameVariableRequested”public event System.Action<string, string> RenameVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:188
Raised when a valid rename commits, old name first.
Rendered
Section titled “Rendered”public event System.Action RenderedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:212
Raised after every rebuild of the rows, so the host can restyle the new elements at once (the window’s typography pass sets the mono face inline).
RevalueVariableRequested
Section titled “RevalueVariableRequested”public event System.Action<string, string> RevalueVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:191
Raised when a value control writes a new canonical payload for one variable.
ValueEditRequested
Section titled “ValueEditRequested”public event System.Action<BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest> ValueEditRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:197
Raised when a collection or instance control asks for one structural edit, routed to
the undoableEditBlackboardDefaultCommandvocabulary.
BehaviorTreeBlackboardVariablesSection()
Section titled “BehaviorTreeBlackboardVariablesSection()”public BehaviorTreeBlackboardVariablesSection()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:241-244
Builds the section against the current editor-domain value-type index, with no declared rows and no pending variable.
BeginNameEdit(string variableName)
Section titled “BeginNameEdit(string variableName)”public void BeginNameEdit(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:503-513
Puts one row’s name into its editing state.
BeginPendingVariable()
Section titled “BeginPendingVariable()”public void BeginPendingVariable()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:414-422
Appends the real typeless row one gesture creates: its placeholder name is selected for typing, its type is required, and the row stays until a type is chosen or the row is removed. Nothing else opens: the type chip beneath the name, or Enter or Tab on a valid name, asks for the selector as the next step.
Bind(BehaviorSourceDocument document)
Section titled “Bind(BehaviorSourceDocument document)”public void Bind(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:328-357
Rebuilds every row from the document’s declared variables, in author order.
CancelNameEdit(string variableName)
Section titled “CancelNameEdit(string variableName)”public void CancelNameEdit(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:582-594
Leaves one row’s editing state and keeps its committed name.
CancelPendingVariable()
Section titled “CancelPendingVariable()”public void CancelPendingVariable()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:425-430
Removes the pending typeless row without declaring anything.
CommitNameEdit(string variableName)
Section titled “CommitNameEdit(string variableName)”public void CommitNameEdit(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:532-579
Commits one editing name through the four states: valid commits, an invalid identifier or an already-declared name is rejected with the prior name kept, and a name a binding already surfaced is accepted with the declared name winning.
CommitPendingNameForDeclaration()
Section titled “CommitPendingNameForDeclaration()”public bool CommitPendingNameForDeclaration()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:437-442
Commits the pending row’s name as typed, for the declaration about to carry it. Returns false when the typed name is rejected: the prior name stays the row’s name for the declaration, and the typed text stays in the field with its rule stated.
CompletePendingVariable()
Section titled “CompletePendingVariable()”public void CompletePendingVariable()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:450-459
Completes the pending row after its declare command applied. The declared variable now renders from canonical source like every other row. A typed name the declaration could not carry stays in the declared row’s focused name field with its rule stated, so choosing a type never discards anything typed.
FaultsFor(string variableName)
Section titled “FaultsFor(string variableName)”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BlackboardFault> FaultsFor(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:387-395
Gets the faults one declared variable carries, in the order they were found.
FocusFault(BlackboardFault fault)
Section titled “FocusFault(BlackboardFault fault)”public void FocusFault(BitQuirky.Behavior.Editor.BlackboardFault fault)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:695-714
Expands and focuses the exact control named by a recovery that navigates instead of mutating source.
FocusValueControl(string variableName)
Section titled “FocusValueControl(string variableName)”public void FocusValueControl(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:660-664
Focuses a writable scalar’s persistent control without changing its form.
IsPendingNameField(VisualElement element)
Section titled “IsPendingNameField(VisualElement element)”public bool IsPendingNameField(UnityEngine.UIElements.VisualElement element)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:480-490
Whetherelementis, or sits inside, the pending row’s name field:
the one element a click that dismisses the type selector still reaches.
IsRowExpanded(string variableName)
Section titled “IsRowExpanded(string variableName)”public bool IsRowExpanded(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:621-624
Gets whether one row currently shows its secondary details.
NameEditStateFor(string variableName)
Section titled “NameEditStateFor(string variableName)”public BitQuirky.Behavior.Editor.BehaviorTreeBlackboardVariablesSection.NameEditState? NameEditStateFor(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:597-601
Returns the current edit state of one row’s name, for coverage.
RowFor(string variableName)
Section titled “RowFor(string variableName)”public UnityEngine.UIElements.VisualElement RowFor(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:398-402
Returns the built row for one declared name, null when it has no row.
SetNameEditText(string variableName, string text)
Section titled “SetNameEditText(string variableName, string text)”public void SetNameEditText(string variableName, string text)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:516-525
Replaces the typed text of one editing name, without committing it.
SetRowExpanded(string variableName, bool expanded)
Section titled “SetRowExpanded(string variableName, bool expanded)”public void SetRowExpanded(string variableName, bool expanded)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:608-618
Expands or collapses one row’s secondary details and parts editor.
SetRuntimePath(BehaviorSourceRuntimePath path)
Section titled “SetRuntimePath(BehaviorSourceRuntimePath path)”public void SetRuntimePath(BitQuirky.Behavior.Authoring.BehaviorSourceRuntimePath path)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:363-368
Sets the graph’s Runtime path, which decides whether each carried row states how the entity path stores it. The GameObject path constrains nothing, so it states nothing.
BehaviorTreeBreakpointService
Section titled “BehaviorTreeBreakpointService”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeBreakpointServiceSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeBreakpointService.cs:36-157
Editor-only registry of per-asset breakpoint node ids. Persists
across domain reload viaEditorPrefskeyed by the
asset GUID, never written into the .bqbehavior source (,
, , R-005).
Responsibilities:
- Maintain the in-memory map of asset GUID → set of authored node ids that should trigger a pause when entered.
- Serialize the per-asset set into a comma-joined
EditorPrefsentry on every mutation so the data survives editor restarts and domain reloads. - Resolve a node-enter notification (asset GUID + node id) into a pause request on the supplied debug control. The actual subscription wiring lives in Phase 4; this class provides the primitives.
Does NOT:
- Map node indices to authored ids. Phase 4 attaches a small adapter that uses the live document’s artifact to map. The service itself only stores authored ids (so the breakpoint survives re-bakes that reorder node indices).
- Bind to any specific Live document at construction. The breakpoint service is a singleton owned byBehaviorTreeEditorWindow; subscription wiring happens when a Live document opens.
Members
Section titled “Members”AssetBreakpointsChanged
Section titled “AssetBreakpointsChanged”public event System.Action<System.Guid> AssetBreakpointsChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeBreakpointService.cs:50
Raised whenever a breakpoint is set or cleared. Subscribers refresh their UI.
Clear(Guid assetGuid, string nodeId)
Section titled “Clear(Guid assetGuid, string nodeId)”public void Clear(System.Guid assetGuid, string nodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeBreakpointService.cs:68-76
Removes the node’s breakpoint, persists the change, and raises AssetBreakpointsChanged. A node that is not marked, or an empty id, is ignored.
ClearAll(Guid assetGuid)
Section titled “ClearAll(Guid assetGuid)”public void ClearAll(System.Guid assetGuid)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeBreakpointService.cs:79-87
Removes every breakpoint on the asset, persists the change, and raises AssetBreakpointsChanged. A no-op when the asset has none.
EnumerateForAsset(Guid assetGuid)
Section titled “EnumerateForAsset(Guid assetGuid)”public System.Collections.Generic.IReadOnlyCollection<string> EnumerateForAsset(System.Guid assetGuid)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeBreakpointService.cs:109-113
The authored node ids marked on the asset. The returned collection is the service’s live set and changes as breakpoints are edited.
HasAnyForAsset(Guid assetGuid)
Section titled “HasAnyForAsset(Guid assetGuid)”public bool HasAnyForAsset(System.Guid assetGuid)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeBreakpointService.cs:116-120
Whether the asset carries at least one breakpoint, without materializing the set.
IsSet(Guid assetGuid, string nodeId)
Section titled “IsSet(Guid assetGuid, string nodeId)”public bool IsSet(System.Guid assetGuid, string nodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeBreakpointService.cs:101-106
Whether the node currently carries a breakpoint on the asset.
Set(Guid assetGuid, string nodeId)
Section titled “Set(Guid assetGuid, string nodeId)”public void Set(System.Guid assetGuid, string nodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeBreakpointService.cs:57-65
Marks the node as a breakpoint for the asset, persists the change, and raises AssetBreakpointsChanged. A node that is already marked, or an empty id, is ignored.
Toggle(Guid assetGuid, string nodeId)
Section titled “Toggle(Guid assetGuid, string nodeId)”public void Toggle(System.Guid assetGuid, string nodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeBreakpointService.cs:90-94
Marks the node when it is unmarked and clears it otherwise, with the same persistence and notification as the individual operations.
BehaviorTreeDecoratorStackLayoutDecorator
Section titled “BehaviorTreeDecoratorStackLayoutDecorator”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeDecoratorStackLayoutDecoratorSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeDecoratorStackLayoutDecorator.cs:40-251
Implements: IGraphLayoutDecorator
Behavior-tree-specific post-layout pass that stacks decorator nodes (Inverter, Repeat, TimeLimit) directly above their single child within the same layout cell . The base tidy-tree pass treats decorators as ordinary nodes and gives them their own row; this decorator collapses each decorator chain so the chain reads as a stack of compact pills above the (only) non-decorator descendant.
Responsibilities:
- Identify decorator nodes from their
NodeDefinition.IconKey(the BT graph adapter already stamps “inverter” / “repeat” / “time” on decorator nodes; we read that, never reach intoBakedNodeKind). - For each decorator chain, compute the anchor (deepest non-decorator descendant), align every decorator above the anchor’s X column, and walk the chain bottom-up so a chain of N decorators stacks N pills above the anchor (, source order from bottom up).
- Stay idempotent: a second invocation produces the same positions because chains converge on their anchor.
Does NOT:
- Edit the caller’s graph. Only
LayoutState.Positionsentries for decorator nodes are rewritten. - Encode whether the decorator vetoed at runtime; that is a per-tick concern handled by the editor window.
- Collapse full decorator cards into pill spacing. Full cards retain the base tree layout unless the renderer replaces them with pills.
Members
Section titled “Members”DecorateLayout(GraphLayoutContext context)
Section titled “DecorateLayout(GraphLayoutContext context)”public void DecorateLayout(BitQuirky.Graph.GraphView.Layout.GraphLayoutContext context)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeDecoratorStackLayoutDecorator.cs:64-215
Called once after the tidy-tree pass writes positions into
context. Implementations adjust positions
in place; the host repaints when the call returns.
BehaviorTreeDecoratorTooltipFactory
Section titled “BehaviorTreeDecoratorTooltipFactory”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeDecoratorTooltipFactorySource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeDecoratorTooltipFactory.cs:28-127
Composes the human-readable summary text shown on the decorator pill tooltip . The factory pulls the decorator kind, inline payload-field references, and the resolved field names out of the baked artifact’s managed-side string tables; the burst-friendly POD path stays untouched.
Responsibilities:
- Produce a short, deterministic string per decorator describing its semantics and (where present) the blackboard field the payload binds to.
- Stay BT-specific. Lives in the BT package; the graph library never references it .
Does NOT:
- Read live blackboard values. The tooltip is descriptive
(“Repeat: count from
target_count”) not state-display (“Repeat: count=3”). Live values surface in the inspector.
Members
Section titled “Members”Compose(BakedBehaviorArtifact artifact, int bakedIndex)
Section titled “Compose(BakedBehaviorArtifact artifact, int bakedIndex)”public static string Compose(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, int bakedIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeDecoratorTooltipFactory.cs:37-70
Compose the tooltip string for one decorator node. Returns an empty string when the node is not a decorator or the artifact cannot be read.
BehaviorTreeEditValidationResult
Section titled “BehaviorTreeEditValidationResult”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResultSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:78-122
Snapshot returned by the validator. Owns the violation list plus convenience predicates the session uses to decide whether to accept the candidate edit and whether Save is enabled.
Responsibilities:
- Retain validation violations and exact-member diagnostics in deterministic order.
- Expose structural and aggregate blocking predicates to editor consumers.
Does NOT:
- Run validation rules or mutate the source document.
Members
Section titled “Members”HasAnyBlockingViolations
Section titled “HasAnyBlockingViolations”public bool HasAnyBlockingViolations { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:105-121
Gets whether any structural or parameter violation blocks saving.
HasStructuralViolations
Section titled “HasStructuralViolations”public bool HasStructuralViolations { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:89-102
Gets whether any structural violation rejects the candidate edit.
MemberDiagnostics
Section titled “MemberDiagnostics”public System.Collections.Generic.List<BitQuirky.Behavior.Member.BehaviorMemberBindingDiagnostic> MemberDiagnostics { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:86
Gets complete exact-member diagnostics produced by the same validation operation. Consumers must use this snapshot instead of resolving the graph a second time.
Violations
Section titled “Violations”public System.Collections.Generic.List<BitQuirky.Behavior.Editor.BehaviorTreeEditValidationViolation> Violations { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:81
Gets the ordered validation violations.
BehaviorTreeEditValidationRule
Section titled “BehaviorTreeEditValidationRule”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditValidationRuleSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:199-1714
Edit-time validation pipeline for the Behavior Tree Editor’s
Static mode. Runs on the prospective post-edit document + AST
produced by anIBehaviorTreeEditCommand’s
Applypath before the session decides whether to keep or
reject the change.
Responsibilities:
- Run cheap source-local structural safety independently from complete semantic rules.
- Capture project-backed source composition, node registries, validation extensions, and asset-address verdicts before worker-safe complete validation begins.
- Run parameter, shared core, and exact CLR member resolution in deterministic order and expose both projected violations and complete structured member diagnostics.
- Project results into the per-rule severity classification the editor cares about, which is finer-grained than the error/warning split the import gate uses.
Does NOT:
- Mutate the document or AST.
- Trigger UI updates. The session re-runs validation after each Apply; the inspector + node-card consumers re-render from the producedBehaviorTreeEditValidationResult.
Members
Section titled “Members”Validate(BehaviorSourceDocument document, BehaviorSourceAst ast)
Section titled “Validate(BehaviorSourceDocument document, BehaviorSourceAst ast)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult Validate(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, BitQuirky.Behavior.Authoring.BehaviorSourceAst ast)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:204-209
Runs the full document rule set against the parsed graph and returns the resulting violations. Overload for callers with no asset path and no address resolver.
Validate(BehaviorSourceDocument document, BehaviorSourceAst ast, Func<string, bool> assetAddressResolves)
Section titled “Validate(BehaviorSourceDocument document, BehaviorSourceAst ast, Func<string, bool> assetAddressResolves)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult Validate(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, System.Func<string, bool> assetAddressResolves)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:217-227
Runs the full rule set.assetAddressResolvesanswers whether a
saved project address still names an importable behavior asset. A null predicate
means the caller cannot probe the project, so no missing-asset fault is reported
rather than a fault the editor cannot verify.
ValidateBlackboardConditions(BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)
Section titled “ValidateBlackboardConditions(BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)”public static void ValidateBlackboardConditions(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult result)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:401-433
Validates the required and orphaned blackboard-condition field states.
ValidateBlackboardDefaults(BehaviorSourceDocument document, BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)
Section titled “ValidateBlackboardDefaults(BehaviorSourceDocument document, BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)”public static void ValidateBlackboardDefaults(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult result)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:1084-1105
Blackboard default value parses for editable types (Bool / Int32 / Float / EnumCode). Reads the per-document defaults table thatEditBlackboardDefaultCommand maintains.
ValidateCompositeCardinality(BehaviorSourceDocument document, BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)
Section titled “ValidateCompositeCardinality(BehaviorSourceDocument document, BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)”public static void ValidateCompositeCardinality(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult result)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:439-463
: every composite (Selector/Sequence/Parallel) has at least one child.
ValidateDecoratorCardinality(BehaviorSourceDocument document, BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)
Section titled “ValidateDecoratorCardinality(BehaviorSourceDocument document, BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)”public static void ValidateDecoratorCardinality(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult result)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:469-496
: decorators target exactly one child.
ValidateNoCycles(BehaviorSourceDocument document, BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)
Section titled “ValidateNoCycles(BehaviorSourceDocument document, BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)”public static void ValidateNoCycles(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult result)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:502-540
No parent / child cycles. Walk the execution edges and detect back-edges via a DFS color marking pass.
ValidateParameterParse(BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)
Section titled “ValidateParameterParse(BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)”public static void ValidateParameterParse(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult result)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:1023-1076
Parameter values must parse against the rule registry. For
the built-in nodes that means layout entries are non-negative
numerics, Repeat/TimeLimit decorators carry a positive
integer / positive duration inrepeatCount/
seconds.
ValidateSingleParentAndConnectionKinds(BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)
Section titled “ValidateSingleParentAndConnectionKinds(BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)”public static void ValidateSingleParentAndConnectionKinds(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult result)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:558-603
Rejects nodes with multiple parents and execution edges whose source cannot own children.
ValidateStateHostedBehavior(BehaviorSourceAst ast, Func<string, bool> assetAddressResolves, BehaviorTreeEditValidationResult result)
Section titled “ValidateStateHostedBehavior(BehaviorSourceAst ast, Func<string, bool> assetAddressResolves, BehaviorTreeEditValidationResult result)”public static void ValidateStateHostedBehavior(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, System.Func<string, bool> assetAddressResolves, BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult result)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:741-758
Reports the state-hosted behavior tree faults in the author’s words, attributed to the state or the transition the author has selected rather than to a source line. Every fault here is Parameter severity: it blocks Save and Bake while leaving the author’s edit in place so the assignment can be repaired where it was made.
ValidateStateTreeOwnership(BehaviorSourceDocument document, BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)
Section titled “ValidateStateTreeOwnership(BehaviorSourceDocument document, BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)”public static void ValidateStateTreeOwnership(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult result)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:643-728
State containment may own ordered lifecycle actions plus one non-action hosted root. Entry and Exit actions coexist with that root. An active Update action list and active hosted root are mutually exclusive, while an explicitly dormant hosted root remains serialized. Transition-flow edges are not containment.
ValidateStructural(BehaviorSourceDocument document, BehaviorSourceAst ast)
Section titled “ValidateStructural(BehaviorSourceDocument document, BehaviorSourceAst ast)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult ValidateStructural(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, BitQuirky.Behavior.Authoring.BehaviorSourceAst ast)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:248-271
Runs only immediate source-local safety rules. This path performs no project lookup, extension discovery, metadata resolution, or exact CLR member resolution.
ValidateSubgraphReferenceShape(BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)
Section titled “ValidateSubgraphReferenceShape(BehaviorSourceAst ast, BehaviorTreeEditValidationResult result)”public static void ValidateSubgraphReferenceShape(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult result)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:990-1014
Subgraph references must carry a non-empty source address.
BehaviorTreeEditValidationSeverity
Section titled “BehaviorTreeEditValidationSeverity”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeEditValidationSeveritySource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:20-29
Underlying type: int
Categorization for diagnostics emitted by edit-time validation rules (data-model §“Validation rule summary”).
Members
Section titled “Members”Informational
Section titled “Informational”Informational = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:23
Informational only, never blocks save .
Parameter
Section titled “Parameter”Parameter = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:25
Parameter / value violation, blocks save .
Structural
Section titled “Structural”Structural = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:28
Structural violation, blocks save and rejects the inducing structural edit ( / ).
BehaviorTreeEditValidationViolation
Section titled “BehaviorTreeEditValidationViolation”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeEditValidationViolationSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:36-64
One violation produced by a validation rule. Carries the affected node id (or empty when document-scoped), severity, machine-readable code, and human-readable message.
Members
Section titled “Members”public string Code { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:61
Stable machine-readable code for the violated rule.
Message
Section titled “Message”public string Message { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:63
Author-facing explanation shown in the issues list.
NodeId
Section titled “NodeId”public string NodeId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:57
Authored id of the offending node, or the empty string for a document-wide violation.
Severity
Section titled “Severity”public BitQuirky.Behavior.Editor.BehaviorTreeEditValidationSeverity Severity { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:59
Whether the violation blocks the edit or only blocks saving.
BehaviorTreeEditValidationViolation(string nodeId, BehaviorTreeEditValidationSeverity severity, string code, string message)
Section titled “BehaviorTreeEditValidationViolation(string nodeId, BehaviorTreeEditValidationSeverity severity, string code, string message)”public BehaviorTreeEditValidationViolation(string nodeId, BitQuirky.Behavior.Editor.BehaviorTreeEditValidationSeverity severity, string code, string message)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:44-54
Records one violation. Pass the empty string for
nodeIdwhen the violation is document-wide;
null node id, code, and message are stored as the empty string so
the issues list never renders null.
BehaviorTreeEditingSession
Section titled “BehaviorTreeEditingSession”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditingSessionSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:58-1226
Implements: IDisposable
Static-document editing session. Owns the in-memory parsed BehaviorSourceDocument, the derived BehaviorSourceAst, the undo / redo stacks, the latestBehaviorTreeEditValidationResult, including action-state commands that preserve distinct containment and transition-flow edge roles, the dirty / changed-on-disk flags, the source autosave queue, and the explicit bake + reload + conflict resolution operations.
Responsibilities:
- Build from a
.bqbehaviorasset path: parse, capture the on-disk hash for conflict detection, run initial validation. Asserts the asset exists at construction. -Executea command against the typed document, project its AST directly, reject synchronous structural violations, and schedule complete validation from an immutable snapshot. Parameter violations allow the edit and source autosave but block SaveAndBake. - Queue deterministic Mermaid after every accepted command, undo, and redo. One atomic write remains active while newer revisions coalesce into the latest follow-up source snapshot.
- Provide deterministic undo / redo with a document cap read from
BehaviorTreeEditingUndoStackCap(no hard-coded literals in code, R-001 / R-005). -SaveAndBake: flush source, re-validate, and perform the retained explicit import-and-bake compatibility path. -ReloadDiscardingEdits/ KeepLocalOverwritingDisk/ OpenDiff: conflict-resolution affordances. - RaiseStateChangedwhenever dirty / save / conflict / validation snapshot / undo availability changes so consumers (toolbar Save button, inspector chips, status bar) stay in sync without polling.
- Raise
DocumentChangedonly for effective authored transactions, with precise retained-presentation invalidation independent of state notifications.
Does NOT:
- Touch Unity’s global Undo system. The editor window
intercepts
Cmd+Z/Cmd+Shift+Zvia a window-level key handler and dispatches through this session (R-004). - Manage UI elements directly. The window owns the toolbar / inspector / status bar; the session emits events.
Members
Section titled “Members”AssetAddressResolver
Section titled “AssetAddressResolver”public System.Func<string, bool> AssetAddressResolver { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:216-231
Resolves whether one saved project address still names an importable behavior asset. Left null in a headless editing session, which then reports no missing-asset fault.
AssetPath
Section titled “AssetPath”public string AssetPath { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:161
Project-relative path of the behavior asset this session edits.
public BitQuirky.Behavior.Authoring.BehaviorSourceAst Ast { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:165
Parsed graph for the current document revision.
CanRedo
Section titled “CanRedo”public bool CanRedo { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:198
Whether the redo stack holds a command to replay.
CanSave
Section titled “CanSave”public bool CanSave { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:181-183
Whether a source autosave can run now: there are edits and no on-disk conflict.
CanSaveAndBake
Section titled “CanSaveAndBake”public bool CanSaveAndBake { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:190-194
Gets whether the current authored revision can be imported and baked through the product Save action: no on-disk conflict, edits the disk copy or the last bake does not carry, validation complete, and no blocking violation. Source autosave remains available while validation is incomplete.
CanUndo
Section titled “CanUndo”public bool CanUndo { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:196
Whether the undo stack holds a command to reverse.
Document
Section titled “Document”public BitQuirky.Behavior.Authoring.BehaviorSourceDocument Document { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:163
The live source document every command mutates.
HasChangedOnDiskConflict
Section titled “HasChangedOnDiskConflict”public bool HasChangedOnDiskConflict { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:173
Whether the file changed on disk after this session loaded it, which blocks saving until the conflict is resolved.
IsDirty
Section titled “IsDirty”public bool IsDirty { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:171
Whether the document holds edits the disk copy does not.
LastLoadedSourceHash
Section titled “LastLoadedSourceHash”public UnityEngine.Hash128 LastLoadedSourceHash { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:169
Content hash of the source text this session last loaded from disk, used to detect an external edit.
LastValidation
Section titled “LastValidation”public BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult LastValidation { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:167
Verdict from the most recent validation pass, or null before the first pass completes.
SaveState
Section titled “SaveState”public BitQuirky.Behavior.Editor.BehaviorSourceSaveState SaveState { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:175-178
Save state shown in the window chrome: conflict wins, then the save queue’s own state, then queued or saved from the dirty flag.
UndoCap
Section titled “UndoCap”public int UndoCap { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:265-275
Largest number of undo steps the session retains, read from the
io.bitquirky.behavior.BehaviorTreeEditingUndoStackCapeditor
preference. Defaults to 64 and asserts the stored value stays
within the contract range of 8 to 512.
SaveFailed
Section titled “SaveFailed”public event System.Action<string> SaveFailedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:154
Raised when a Save attempt fails. The string is a single-line reason consumers may surface on the status bar.
SavedToDisk
Section titled “SavedToDisk”public event System.Action<string> SavedToDiskSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:142
Raised whenSaveAndBakewrites the document to disk. Consumers post transient status messages.
SourceSavedToDisk
Section titled “SourceSavedToDisk”public event System.Action<string> SourceSavedToDiskSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:148
Raised when source-only autosave persists the newest document revision. This event never implies that the executable cache was imported or baked.
StateChanged
Section titled “StateChanged”public event System.Action StateChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:124
Raised when any of dirty / conflict / validation / undo state changes. Consumers re-read the matching property.
BehaviorTreeEditingSession(string assetPath)
Section titled “BehaviorTreeEditingSession(string assetPath)”public BehaviorTreeEditingSession(string assetPath)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:288-300
Opens an editing session on the behavior source at
assetPathand loads it from disk immediately.
Asserts a path was supplied. Recovery is keyed by the asset GUID
when the asset is in the database, and by the path otherwise, so a
moved asset keeps its recovery data.
DescribeRedo()
Section titled “DescribeRedo()”public string DescribeRedo()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:450-453
Label of the command redo would replay, or the empty string when there is nothing to redo.
DescribeUndo()
Section titled “DescribeUndo()”public string DescribeUndo()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:444-447
Label of the command undo would reverse, or the empty string when there is nothing to undo.
Dispose()
Section titled “Dispose()”public void Dispose()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:687-713
Flushes source work and releases queue callbacks. Also delivers any still-queued source import synchronously: see the guard inside the body for why.
Execute(IBehaviorTreeEditCommand command)
Section titled “Execute(IBehaviorTreeEditCommand command)”public bool Execute(BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.IBehaviorTreeEditCommand command)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:337-372
Validate-apply-push the command. Returns true on commit, false when the command’s prospective post-state has structural-blocking violations.
FlushPendingSourceSave()
Section titled “FlushPendingSourceSave()”public bool FlushPendingSourceSave()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:489-533
Flushes the newest deterministic Mermaid revision to disk without importing or baking. Validation does not block source persistence.
KeepLocalOverwritingDisk()
Section titled “KeepLocalOverwritingDisk()”public bool KeepLocalOverwritingDisk()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:627-644
Force-save the current in-memory document over whatever is on disk, even if the disk hash drifted. Clears the conflict flag and runs the normal save path. “Keep local”.
OpenDiff()
Section titled “OpenDiff()”public (string Local, string Disk) OpenDiff()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:678-681
diff action. Returns the local and on-disk source texts for the caller to render in its read-only diff popover.
PollSourceSave()
Section titled “PollSourceSave()”public void PollSourceSave()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:471-474
Advances the asynchronous source-save queue without blocking: completes a finished write and starts a due retry. The editor calls this from its ordinary refresh so a queued or failed save makes progress without a modal flush.
ReadDiff()
Section titled “ReadDiff()”public (string Local, string Disk) ReadDiff()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:650-672
Return a (localSourceText, diskSourceText) tuple a consumer can render in a non-editable side-by-side popover.
Redo()
Section titled “Redo()”public bool Redo()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:420-441
Replays the most recently undone command, revalidates, and commits the resulting document revision. Returns false when the redo stack is empty.
ReloadDiscardingEdits()
Section titled “ReloadDiscardingEdits()”public void ReloadDiscardingEdits()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:604-620
Discard the in-memory edits, clear undo/redo, and reparse from the on-disk source. “Reload (discard local)”.
SaveAndBake()
Section titled “SaveAndBake()”public bool SaveAndBake()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:544-598
The product Save action: flush the source, then import it through the full path so the asset re-bakes and its derived member output regenerates (the deferral source autosave makes is documented on ImportSourceOnly). Refuses with SaveFailedwhen blockers exist or when the on-disk hash drifted while dirty.
TryGetBlackboardDefault(string fieldName, out string value)
Section titled “TryGetBlackboardDefault(string fieldName, out string value)”public bool TryGetBlackboardDefault(string fieldName, out string value)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:456-460
Reads the authored Static default for a blackboard field. Returns false and an empty value when the field has no authored default.
Undo()
Section titled “Undo()”public bool Undo()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:375-396
Reverses the newest command, revalidates, and commits the resulting document revision. Returns false when the undo stack is empty.
BehaviorTreeEditorInspector
Section titled “BehaviorTreeEditorInspector”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditorInspectorSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:42-2479
Inherits: VisualElement
Selection-first right-rail inspector for the Behavior Tree Editor. The selected node or decorator owns the leading controls, followed by relevant Live graph diagnostics and the separate graph-wide Blackboard band.
Responsibilities:
- Keep selected authored/read-only controls expanded and free of redundant section chrome.
- Show graph runtime, pending, watched, recent, entity, member-binding, and evaluation data only while Live and only when the corresponding refresh supplies meaningful content.
- Surface click-active-node → center on canvas via OnActiveNodeFocusRequested.
- Implement pending request rows usingCompactRowwith payload tooltips.
- Implement the Blackboard section through BehaviorTreeBlackboardPanel: count, search, owner filter, owner groups, request links, row pinning, and Static-mode safe-literal edit events.
Does NOT:
- Talk to the runtime; the window pushes refresh data through UpdateLive.
- Decide which runtime data to sample; the window owns binding reads.
Members
Section titled “Members”BlackboardAssetFileName
Section titled “BlackboardAssetFileName”public string BlackboardAssetFileName { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1659-1667
Gets or sets the asset file name every blackboard surface names: the band’s asset line reads it with its extension, each fault’s context line reads its stem, and the rail footer’s saved-graph receipt names it.
BlackboardPanel
Section titled “BlackboardPanel”public BitQuirky.Behavior.Editor.BehaviorTreeBlackboardPanel BlackboardPanel { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1752
Gets the Blackboard panel, whose Variables section owns declaring, naming, typing and removing through that one surface.
HasLiveValueRows
Section titled “HasLiveValueRows”public bool HasLiveValueRows { get; private set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1037
Gets whether the Live values section currently shows at least one graph-held Blackboard or Task row.
HasSurfacedMemberBinding
Section titled “HasSurfacedMemberBinding”public bool HasSurfacedMemberBinding { get; private set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1012
Gets whether the Member binding section currently shows at least one surfaced Live member card, real or golden: the production compact-overlay open-by- default decision reads this instead of a golden-only flag, so a golden fixture exercises the exact branch a real attached document does.
PendingRequestAdapter
Section titled “PendingRequestAdapter”public System.Func<BitQuirky.Behavior.Editor.BehaviorPendingExternalSnapshot, int, BitQuirky.Behavior.Editor.BehaviorTreePendingRequestRow> PendingRequestAdapter { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:333
Project-supplied adapter that maps a BehaviorPendingExternalSnapshot+ a reference frame into the inspector’s row shape. The adapter lives in the project glue so this package stays free of BT-specific vocabulary. The window installs this on Live document open;UpdateLiveasserts non-null so a missing wire-up surfaces immediately rather than silently degrading the row presentation.
UncarriedBindings
Section titled “UncarriedBindings”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding> UncarriedBindings { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1702-1703
Gets the bindings the current Runtime path cannot carry.
OnActiveNodeFocusRequested
Section titled “OnActiveNodeFocusRequested”public event System.Action<System.Guid> OnActiveNodeFocusRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:232
Raised when the user clicks the Runtime Status section’s “Active node” affordance. The window centers the canvas on the supplied node identity .
OnBindMemberRequested
Section titled “OnBindMemberRequested”public event System.Action OnBindMemberRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:267
Raised when the author asks to bind a member directly from the blackboard.
OnBlackboardDefaultValueChanged
Section titled “OnBlackboardDefaultValueChanged”public event System.Action<string, BitQuirky.Behavior.Baked.BakedFieldTypeCode, string> OnBlackboardDefaultValueChangedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:242
Raised when the author edits a Static default value, carrying the field name, its baked type, and the new value as source text.
OnBlackboardRecoveryRequested
Section titled “OnBlackboardRecoveryRequested”public event System.Action<BitQuirky.Behavior.Editor.BlackboardFault, string> OnBlackboardRecoveryRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:310
Raised when a blackboard fault’s recovery is chosen in the rail’s Validation card, with the exact fault and the exact recovery label.
OnChangeVariableTypeRequested
Section titled “OnChangeVariableTypeRequested”public event System.Action<string> OnChangeVariableTypeRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:255
Raised when the author opens the type selector from a variable’s type chip.
OnDeclareVariableRequested
Section titled “OnDeclareVariableRequested”public event System.Action OnDeclareVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:249
Raised when the author asks for a new declared variable.
OnLiveMemberEditRequested
Section titled “OnLiveMemberEditRequested”public event System.Action<BitQuirky.Behavior.Member.BehaviorLiveMemberEditRequest> OnLiveMemberEditRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:298
Raised when a healthy Current control in the Live member card commits one exact-type edit request. The window routes this through the runtime capability, outside the graph’s undo/save path.
OnLiveValueEditRequested
Section titled “OnLiveValueEditRequested”public event System.Action<BitQuirky.Behavior.Member.BehaviorLiveValueEditRequest> OnLiveValueEditRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:304
Raised when a writable row in the Live values section commits one exact-type edit request against the selected running instance’s own Blackboard or Task value.
OnMemberGoToNodeRequested
Section titled “OnMemberGoToNodeRequested”public event System.Action<string> OnMemberGoToNodeRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:279
Raised when a blackboard row’s origin asks to select the node that produces it. Carries the binding id, so two same-member rows each reach their own node.
OnMemberRenameRequested
Section titled “OnMemberRenameRequested”public event System.Action<string, string> OnMemberRenameRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:270
Raised when a surfaced member binding is renamed.
OnMemberUnbindRequested
Section titled “OnMemberUnbindRequested”public event System.Action<string> OnMemberUnbindRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:273
Raised when a surfaced member binding is unbound.
OnNodeRenameRequested
Section titled “OnNodeRenameRequested”public event System.Action<string, string> OnNodeRenameRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:285
Raised when the identity header’s rename affordance commits a new name for the selected node.
OnPendingRequestClicked
Section titled “OnPendingRequestClicked”public event System.Action<BitQuirky.Behavior.Editor.BehaviorPendingExternalSnapshot> OnPendingRequestClickedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:239
Raised when the user clicks one of the Pending Requests rows. The window may scroll the Recent Events list (Phase 10) to the matching frame.
OnRemoveVariableRequested
Section titled “OnRemoveVariableRequested”public event System.Action<string> OnRemoveVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:252
Raised when the author asks to remove one declared variable.
OnRenameVariableRequested
Section titled “OnRenameVariableRequested”public event System.Action<string, string> OnRenameVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:258
Raised when a valid variable rename commits, old name first.
OnRevalueVariableRequested
Section titled “OnRevalueVariableRequested”public event System.Action<string, string> OnRevalueVariableRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:261
Raised when a value control writes a new canonical payload.
OnRuntimePathChanged
Section titled “OnRuntimePathChanged”public event System.Action<BitQuirky.Behavior.Authoring.BehaviorSourceRuntimePath> OnRuntimePathChangedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:291
Raised once when the author switches which runtime this graph bakes for, so the window routes it through the one undoable edit command.
OnUncarriedBindingRecoveryRequested
Section titled “OnUncarriedBindingRecoveryRequested”public event System.Action<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding, string> OnUncarriedBindingRecoveryRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:317
Raised when an uncarried binding’s recovery is chosen in the graph home’s Validation card, with the exact report and the exact recovery label. Each is one edit and one undo step.
OnValueEditRequested
Section titled “OnValueEditRequested”public event System.Action<BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest> OnValueEditRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:264
Raised when a value control asks for one structural collection edit.
BehaviorTreeEditorInspector()
Section titled “BehaviorTreeEditorInspector()”public BehaviorTreeEditorInspector()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:345-708
Builds the whole right rail: the design surface with its identity header, and every section shell in its canonical order. Sections start collapsed or hidden and are filled by the update methods, so a freshly constructed rail shows nothing but its chrome.
BindInspectorState(BehaviorTreeInspectorState state)
Section titled “BindInspectorState(BehaviorTreeInspectorState state)”public void BindInspectorState(BitQuirky.Behavior.Editor.BehaviorTreeInspectorState state)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:721-737
Binds the inspector to the state object that retains collapse, search, and pin choices across refreshes. Passing null leaves the current visual state alone.
ClearLiveMemberBindings()
Section titled “ClearLiveMemberBindings()”public void ClearLiveMemberBindings()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1015-1031
Clears the Live member binding cards and hides the sections.
ClearLiveRuntimePresentation(bool retainMemberBindings)
Section titled “ClearLiveRuntimePresentation(bool retainMemberBindings)”public void ClearLiveRuntimePresentation(bool retainMemberBindings = false)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1284-1314
Clears runtime-only values when a Live attachment is unavailable while preserving source identity, authored blackboard values, watched-value structure, and selection.
Parameters
retainMemberBindings: Keeps the existing Live member cards in place instead of tearing them down. The lost attachment path re-shows the same bindings as detached immediately afterwards, so destroying and rebuilding them here would discard each card’s chosen disclosure and element identity on every refresh.
ClearLiveValueRefusals()
Section titled “ClearLiveValueRefusals()”public void ClearLiveValueRefusals()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1077-1080
Clears every Live value row’s transient refusal caption and invalid-entry mark because the inspected instance or Live document is about to change (, D1): a stale refusal must never be read as if it belonged to the newly attached instance. Never touches a row’s own value, override mark, or the instance’s accepted live edit – refusal presentation is transient UI state, the edit lives in the instance.
ClearLiveValueRows()
Section titled “ClearLiveValueRows()”public void ClearLiveValueRows()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1052-1057
Clears the Live values rows and hides the section.
FocusBlackboardSearch()
Section titled “FocusBlackboardSearch()”public void FocusBlackboardSearch()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1993-1997
Reveals the Blackboard tab and moves keyboard focus to its search field on the next layout pass.
GetSection(BehaviorTreeInspectorSection kind)
Section titled “GetSection(BehaviorTreeInspectorSection kind)”public BitQuirky.Graph.GraphView.Controls.InspectorSection GetSection(BitQuirky.Behavior.Editor.BehaviorTreeInspectorSection kind)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:715-718
The section element for the given inspector section, for callers that drive its header or content directly.
MarkLiveBlackboardValuesDetached()
Section titled “MarkLiveBlackboardValuesDetached()”public void MarkLiveBlackboardValuesDetached()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1727-1730
Clears the Live Blackboard value rows to the governed cleared reading when the attachment is lost, so the last numbers the gone instance held are not presented as a live reading. The next attachedUpdateBlackboardrestores them.
MarkLiveValuesDetached()
Section titled “MarkLiveValuesDetached()”public void MarkLiveValuesDetached()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1064-1068
Keeps the Live values rows in place but reads them as cleared once the attachment is lost, so a reattached instance restores the same rows; an edit already made stays with the instance that received it.
ResetToStaticPlaceholders(bool preserveSelectedNodeDetails)
Section titled “ResetToStaticPlaceholders(bool preserveSelectedNodeDetails)”public void ResetToStaticPlaceholders(bool preserveSelectedNodeDetails = false)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1320-1337
Reset every Live-only field to its Static placeholder. Used when the current document is Static or before a Live document refreshes for the first time.
RevealBlackboardEntry(string projectedName)
Section titled “RevealBlackboardEntry(string projectedName)”public void RevealBlackboardEntry(string projectedName)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:2004-2027
Scrolls the always-expanded Blackboard panel to the named entry, flashing the row so the reveal reads as the answer to the click that asked for it. A name the panel does not currently list falls back to focusing the blackboard search.
SetCompactMemberOverlayActive(bool active)
Section titled “SetCompactMemberOverlayActive(bool active)”public void SetCompactMemberOverlayActive(bool active)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1122-1136
Opens the legacy scope tabs only for the narrow Live member overlay. Static and normal-width Live rails retain their simultaneous Selection and Blackboard layout.
SetEntityBindingVisible(bool visible)
Section titled “SetEntityBindingVisible(bool visible)”public void SetEntityBindingVisible(bool visible)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:828-833
Shows or hides the entity binding rows, then re-applies section visibility.
SetLiveMode(bool isLive)
Section titled “SetLiveMode(bool isLive)”public void SetLiveMode(bool isLive)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:786-794
Sets the owning document mode. Live diagnostics remain hidden until a fresh refresh supplies applicable data; selection changes never infer or clear this mode.
ShowLiveValueRefusal(BehaviorLiveValueTarget target, BehaviorLiveValueRefusalReason reason)
Section titled “ShowLiveValueRefusal(BehaviorLiveValueTarget target, BehaviorLiveValueRefusalReason reason)”public void ShowLiveValueRefusal(BitQuirky.Behavior.Member.BehaviorLiveValueTarget target, BitQuirky.Behavior.Member.BehaviorLiveValueRefusalReason reason)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1087-1091
Shows the capability’s own stated refusal reason on the row that submitted the edit (, C2/D2, ): a refusal the capability itself reports must not be silently discarded. No-op if the row is no longer surfaced.
UpdateBlackboard(IReadOnlyList<BehaviorBlackboardFieldSnapshot> fields, bool isLive, bool allowStaticEdits, Func<string, string> defaultValueResolver, bool showStoredValuesWhenNotLive)
Section titled “UpdateBlackboard(IReadOnlyList<BehaviorBlackboardFieldSnapshot> fields, bool isLive, bool allowStaticEdits, Func<string, string> defaultValueResolver, bool showStoredValuesWhenNotLive)”public void UpdateBlackboard(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorBlackboardFieldSnapshot> fields, bool isLive, bool allowStaticEdits, System.Func<string, string> defaultValueResolver, bool showStoredValuesWhenNotLive = false)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1706-1720
Pushes blackboard field snapshots into the panel. Live mode shows runtime values; Static mode allows editing authored defaults when allowStaticEdits is set.
UpdateBlackboardFaults(IReadOnlyList<BlackboardFault> faults)
Section titled “UpdateBlackboardFaults(IReadOnlyList<BlackboardFault> faults)”public void UpdateBlackboardFaults(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BlackboardFault> faults)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1687-1690
States every blackboard fault in the band’s Graph validation card, each with the variable it is on, the exact element, field or entry it is aimed at, its reason and its approved recoveries.
UpdateBlackboardMemberBindings(BehaviorSourceDocument document, bool isLive, bool allowStaticEdits)
Section titled “UpdateBlackboardMemberBindings(BehaviorSourceDocument document, bool isLive, bool allowStaticEdits)”public void UpdateBlackboardMemberBindings(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, bool isLive, bool allowStaticEdits)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1740-1746
Updates the surfaced member bindings group in the Blackboard section.
UpdateDestroyedEntity(IReadOnlyList<BehaviorBlackboardFieldSnapshot> designBlackboard, IReadOnlyList<BehaviorRecentEventSnapshot> recentEvents)
Section titled “UpdateDestroyedEntity(IReadOnlyList<BehaviorBlackboardFieldSnapshot> designBlackboard, IReadOnlyList<BehaviorRecentEventSnapshot> recentEvents)”public void UpdateDestroyedEntity(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorBlackboardFieldSnapshot> designBlackboard, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRecentEventSnapshot> recentEvents)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:840-867
Clears live entity values while retaining the entity card and design data. Gives Live values rows the same detached treatment the GameObject-lost path gives (, C2/D2): rows stay in place, read as cleared, with the detached note shown.
UpdateEntityBinding(BehaviorEntityIdentitySnapshot identity, BehaviorEntityBindingLifecycle lifecycle)
Section titled “UpdateEntityBinding(BehaviorEntityIdentitySnapshot identity, BehaviorEntityBindingLifecycle lifecycle)”public void UpdateEntityBinding(BitQuirky.Behavior.Editor.BehaviorEntityIdentitySnapshot identity, BitQuirky.Behavior.Editor.BehaviorEntityBindingLifecycle lifecycle)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:799-825
Shows the approved compact identity card for one exact entity binding.
UpdateEntitySelectedNodeDetails(string status, string lastResult)
Section titled “UpdateEntitySelectedNodeDetails(string status, string lastResult)”public void UpdateEntitySelectedNodeDetails(string status, string lastResult)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:873-902
Refreshes runtime status supplemental to the selected entity node’s mounted read-only configuration. The parameter editor and identity head remain intact.
UpdateLive(in BehaviorTrace trace, BakedBehaviorArtifact artifact, IReadOnlyList<BehaviorPendingExternalSnapshot> pendingRequests, Func<int, Guid?> indexToGuid, string activeNodeDisplay, string activeStateDisplay, string lastTransitionDisplay, int currentFrame, string lastOutcomeDisplay)
Section titled “UpdateLive(in BehaviorTrace trace, BakedBehaviorArtifact artifact, IReadOnlyList<BehaviorPendingExternalSnapshot> pendingRequests, Func<int, Guid?> indexToGuid, string activeNodeDisplay, string activeStateDisplay, string lastTransitionDisplay, int currentFrame, string lastOutcomeDisplay)”public void UpdateLive(in BitQuirky.Behavior.Diagnostics.BehaviorTrace trace, BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorPendingExternalSnapshot> pendingRequests, System.Func<int, System.Guid?> indexToGuid, string activeNodeDisplay, string activeStateDisplay, string lastTransitionDisplay, int currentFrame, string lastOutcomeDisplay = null)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:923-981
Push Live-mode runtime data into the Runtime Status + Pending Requests sections. Called by the window on every refresh tick.
UpdateLiveMemberBindings(IReadOnlyList<BehaviorLiveMemberSnapshot> snapshots, bool isPaused)
Section titled “UpdateLiveMemberBindings(IReadOnlyList<BehaviorLiveMemberSnapshot> snapshots, bool isPaused)”public void UpdateLiveMemberBindings(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorLiveMemberSnapshot> snapshots, bool isPaused)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:987-1004
Shows the Live member binding cards and Evaluation feedback from the current runtime snapshots. Hidden when no surfaced member binding exists.
UpdateLiveValueRows(IReadOnlyList<BehaviorLiveValueRowSnapshot> rows)
Section titled “UpdateLiveValueRows(IReadOnlyList<BehaviorLiveValueRowSnapshot> rows)”public void UpdateLiveValueRows(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorLiveValueRowSnapshot> rows)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1043-1049
Shows the Live values section’s rows from the current running instance’s snapshots. Hidden when the instance offers no row.
UpdateReadOnlyNodeEditor(string nodeId, string nodeLabel, string nodeKind, BehaviorTreeNodeParameterEditor parameterEditor)
Section titled “UpdateReadOnlyNodeEditor(string nodeId, string nodeLabel, string nodeKind, BehaviorTreeNodeParameterEditor parameterEditor)”public void UpdateReadOnlyNodeEditor(string nodeId, string nodeLabel, string nodeKind, BitQuirky.Behavior.Editor.BehaviorTreeNodeParameterEditor parameterEditor)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1470-1506
Shows a selected Live node with read-only identity and parameter projection.
UpdateRecentEvents(IReadOnlyList<BehaviorRecentEventSnapshot> recentEvents)
Section titled “UpdateRecentEvents(IReadOnlyList<BehaviorRecentEventSnapshot> recentEvents)”public void UpdateRecentEvents(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRecentEventSnapshot> recentEvents)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1775-1792
Replaces the Recent Transitions and Events rows and updates the section count. The section stays hidden outside live mode or when there is nothing to show.
UpdateRuntimePath(BehaviorSourceRuntimePath path, bool nothingSelected)
Section titled “UpdateRuntimePath(BehaviorSourceRuntimePath path, bool nothingSelected)”public void UpdateRuntimePath(BitQuirky.Behavior.Authoring.BehaviorSourceRuntimePath path, bool nothingSelected)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1635-1652
Shows the graph’s Runtime path in its home card, or hides the card while a node is selected. Switching raisesOnRuntimePathChangedonce, so the window can route it through the one undoable edit command.
UpdateSelectedNodeDetails(IReadOnlyList<BehaviorSelectedNodeDetailSnapshot> details)
Section titled “UpdateSelectedNodeDetails(IReadOnlyList<BehaviorSelectedNodeDetailSnapshot> details)”public void UpdateSelectedNodeDetails(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorSelectedNodeDetailSnapshot> details)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1340-1345
Replaces the selected-node detail rows and drops any mounted parameter controls, so the next render rebuilds them.
UpdateSelectedNodeHead(string eyebrow, string nodeName, string meta, string glyphPath, string familyModifierClass, string renameNodeId, string renameLockReason, Func<string, string> renameRefusal)
Section titled “UpdateSelectedNodeHead(string eyebrow, string nodeName, string meta, string glyphPath, string familyModifierClass, string renameNodeId, string renameLockReason, Func<string, string> renameRefusal)”public void UpdateSelectedNodeHead(string eyebrow, string nodeName, string meta, string glyphPath, string familyModifierClass = null, string renameNodeId = null, string renameLockReason = null, System.Func<string, string> renameRefusal = null)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1378-1410
Drives the rail’s leading identity header: eyebrow, glyph, the selected node’s name, and its kind and bound-member meta line. Passing a null or empty name hides the header, so a cleared selection never leaves a stale identity on the rail.
UpdateSharedNumericField(BehaviorSharedNumericFieldSnapshot? field, Func<float, bool> onValueEdited)
Section titled “UpdateSharedNumericField(BehaviorSharedNumericFieldSnapshot? field, Func<float, bool> onValueEdited)”public void UpdateSharedNumericField(BitQuirky.Behavior.Editor.BehaviorSharedNumericFieldSnapshot? field, System.Func<float, bool> onValueEdited)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1733-1737
Shows, hides, or updates the Live shared-numeric debug row and its edit-through callback.
UpdateStaticNodeEditor(string nodeId, string nodeLabel, string nodeKind, BehaviorTreeNodeParameterEditor parameterEditor)
Section titled “UpdateStaticNodeEditor(string nodeId, string nodeLabel, string nodeKind, BehaviorTreeNodeParameterEditor parameterEditor)”public void UpdateStaticNodeEditor(string nodeId, string nodeLabel, string nodeKind, BitQuirky.Behavior.Editor.BehaviorTreeNodeParameterEditor parameterEditor)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1429-1465
Shows the selected Static source node and its descriptor-backed parameter editor.
UpdateStaticNodeMemberRail(string nodeId, string nodeLabel, string nodeKind, VisualElement rail)
Section titled “UpdateStaticNodeMemberRail(string nodeId, string nodeLabel, string nodeKind, VisualElement rail)”public void UpdateStaticNodeMemberRail(string nodeId, string nodeLabel, string nodeKind, UnityEngine.UIElements.VisualElement rail)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1512-1548
Mounts the member binding rail for a selected member node in the Selected node details section, preserving an unchanged rail to keep keyboard focus.
UpdateStaticValidation(string message, bool isValid)
Section titled “UpdateStaticValidation(string message, bool isValid)”public void UpdateStaticValidation(string message, bool isValid)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1607-1625
Updates the exact Static validation message and color treatment.
UpdateStaticValidationProfile(string profileToken)
Section titled “UpdateStaticValidationProfile(string profileToken)”public void UpdateStaticValidationProfile(string profileToken)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1592-1597
Shows the validation profile selected by the open Static source.
UpdateUncarriedBindings(IReadOnlyList<BehaviorUncarriedBinding> uncarried)
Section titled “UpdateUncarriedBindings(IReadOnlyList<BehaviorUncarriedBinding> uncarried)”public void UpdateUncarriedBindings(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding> uncarried)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1696-1699
States every binding the graph’s Runtime path cannot carry, each with the recoveries its exact shape offers.
UpdateUtilityBranchScores(IReadOnlyList<BehaviorUtilityBranchScoreSnapshot> branchScores, BakedBehaviorArtifact artifact, IReadOnlyList<BehaviorNodeExecutionStatus> nodeStatuses)
Section titled “UpdateUtilityBranchScores(IReadOnlyList<BehaviorUtilityBranchScoreSnapshot> branchScores, BakedBehaviorArtifact artifact, IReadOnlyList<BehaviorNodeExecutionStatus> nodeStatuses)”public void UpdateUtilityBranchScores(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorUtilityBranchScoreSnapshot> branchScores, BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus> nodeStatuses)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1801-1828
Shows every evaluated Utility Selector branch’s current score in authored order, marks the branch each selector last chose with a pip and a word (pulsing only while that branch’s own node is running), and groups rows under their selector’s label when the graph has more than one. The section stays hidden outside live mode or when no selector has evaluated for the selected agent.
UpdateWatchedValues(IReadOnlyList<BehaviorWatchedFieldSnapshot> watchedFields)
Section titled “UpdateWatchedValues(IReadOnlyList<BehaviorWatchedFieldSnapshot> watchedFields)”public void UpdateWatchedValues(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorWatchedFieldSnapshot> watchedFields)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1755-1772
Replaces the Watched Values rows and updates the section count. The section stays hidden outside live mode or when there is nothing to watch.
BehaviorTreeEditorLiveLegend
Section titled “BehaviorTreeEditorLiveLegend”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditorLiveLegendSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorLiveLegend.cs:29-144
Inherits: VisualElement
Small bottom-right HUD shown over the canvas in Live mode. Explains what the color pips on node cards mean : Running (green pulse), Success (mint), Failure (rose), Idle (token gray). Static documents hide the legend so it never overlaps Static editing affordances.
Responsibilities:
- Render the labelledStatusPips in a row, including the amber reading for a member target that did not resolve on the last evaluation.
- Toggle its own visibility viaSetVisibleso the window can hide the HUD on Static documents.
- Sit absolutely positioned bottom-right of its parent so the canvas can drop it in without re-laying out the rest of the chrome.
Does NOT:
- Animate the Running pip itself; the depth-recipe USS in
Effects.uss pulses any element carrying the
.bq-pulseclass via a scheduled toggle the window owns.
Members
Section titled “Members”BehaviorTreeEditorLiveLegend()
Section titled “BehaviorTreeEditorLiveLegend()”public BehaviorTreeEditorLiveLegend()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorLiveLegend.cs:44-55
Builds the legend pinned to the bottom-right of its parent, with picking disabled so it never intercepts canvas input, and populates the pip row.
SetStateMachineMode(bool stateMachineMode)
Section titled “SetStateMachineMode(bool stateMachineMode)”public void SetStateMachineMode(bool stateMachineMode)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorLiveLegend.cs:72-81
Swap the legend between the behavior tree run-result pips (RUNNING / SUCCESS / FAILURE / IDLE) and the state machine activity pips (ACTIVE / INACTIVE).
SetVisible(bool visible)
Section titled “SetVisible(bool visible)”public void SetVisible(bool visible)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorLiveLegend.cs:62-65
Shows or hides the legend without removing it from the hierarchy, so layout of the surrounding chrome is unchanged.
BehaviorTreeEditorPreferences
Section titled “BehaviorTreeEditorPreferences”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditorPreferencesSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:17-355
Behavior Trees and State Machines preference adapter over the shared graph preferences asset. Product-specific defaults and the Unity Preferences path stay here; the persistence, settings UI, preview, and graph application live in io.bitquirky.graph.
Members
Section titled “Members”CanvasBackground
Section titled “CanvasBackground”public static UnityEngine.Color CanvasBackground { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:145-149
Color painted behind the canvas. Defaults to DefaultCanvasBackgroundHex.
DefaultCanvasBackground
Section titled “DefaultCanvasBackground”public static UnityEngine.Color DefaultCanvasBackground { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:99
Default canvas background color, parsed from its hex string.
DefaultEdgeActiveColor
Section titled “DefaultEdgeActiveColor”public static UnityEngine.Color DefaultEdgeActiveColor { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:107
Default active edge color, parsed from its hex string.
DefaultEdgeIdleColor
Section titled “DefaultEdgeIdleColor”public static UnityEngine.Color DefaultEdgeIdleColor { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:105
Default idle edge color, parsed from its hex string.
DefaultGridDot
Section titled “DefaultGridDot”public static UnityEngine.Color DefaultGridDot { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:103
Default grid dot color, parsed from its hex string.
DefaultGridLine
Section titled “DefaultGridLine”public static UnityEngine.Color DefaultGridLine { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:101
Default grid line color, parsed from its hex string.
EdgeActiveColor
Section titled “EdgeActiveColor”public static UnityEngine.Color EdgeActiveColor { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:254-258
Color of a wire on the active execution path. Defaults to DefaultEdgeActiveColorHex.
EdgeActiveStrokeWidth
Section titled “EdgeActiveStrokeWidth”public static float EdgeActiveStrokeWidth { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:265-269
Stroke width of an active wire, in canvas units; wider than idle so the live path reads first. Defaults to DefaultEdgeActiveStrokeWidth.
EdgeIdleColor
Section titled “EdgeIdleColor”public static UnityEngine.Color EdgeIdleColor { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:224-228
Color of a wire that is not on the active path. Defaults to DefaultEdgeIdleColorHex.
EdgeIdleOpacity
Section titled “EdgeIdleOpacity”public static float EdgeIdleOpacity { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:244-248
Opacity of an idle wire, from 0 to 1; lower values fade inactive branches back. Defaults toDefaultEdgeIdleOpacity.
EdgeIdleStrokeWidth
Section titled “EdgeIdleStrokeWidth”public static float EdgeIdleStrokeWidth { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:234-238
Stroke width of an idle wire, in canvas units. Defaults to DefaultEdgeIdleStrokeWidth.
EdgeRouting
Section titled “EdgeRouting”public static BitQuirky.Graph.GraphView.GraphEdgeRouting EdgeRouting { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:217-218
Routing styleEdgeRoutingIndexcurrently selects, resolved to the value the graph view consumes.
EdgeRoutingIndex
Section titled “EdgeRoutingIndex”public static int EdgeRoutingIndex { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:207-211
Selected entry in the edge routing choices, which decides whether wires are drawn curved or orthogonal. Defaults to DefaultEdgeRoutingIndex.
EdgeStyleIndex
Section titled “EdgeStyleIndex”public static int EdgeStyleIndex { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:287-291
Selected entry in the edge style choices, which sets the wire decoration drawn between cards. Defaults to DefaultEdgeStyleIndex.
GridDot
Section titled “GridDot”public static UnityEngine.Color GridDot { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:165-169
Color of the grid dots drawn at cell intersections. Defaults to DefaultGridDotHex.
GridDotFrequency
Section titled “GridDotFrequency”public static int GridDotFrequency { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:186-190
How many grid cells apart the dots are drawn; 1 dots every intersection. Defaults toDefaultGridDotFrequency.
GridDotRadius
Section titled “GridDotRadius”public static float GridDotRadius { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:196-200
Radius of each grid dot, in canvas units. Defaults to DefaultGridDotRadius.
GridLine
Section titled “GridLine”public static UnityEngine.Color GridLine { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:155-159
Color of the canvas grid lines. Defaults to DefaultGridLineHex.
GridSpacing
Section titled “GridSpacing”public static float GridSpacing { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:176-180
Distance between grid lines, in canvas units at 100% zoom; larger values give a coarser grid. Defaults to DefaultGridSpacing.
InvertZoomDirection
Section titled “InvertZoomDirection”public static bool InvertZoomDirection { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:124-128
Whether scrolling up zooms the canvas out instead of in. Defaults toDefaultInvertZoomDirection(off).
NodeDensityIndex
Section titled “NodeDensityIndex”public static int NodeDensityIndex { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:276-280
Selected entry in the node density choices, from most compact to most spacious, which sets node card padding and spacing. Defaults toDefaultNodeDensityIndex.
ScrollMovesViewport
Section titled “ScrollMovesViewport”public static bool ScrollMovesViewport { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:114-118
Whether an unmodified scroll pans the canvas instead of zooming it, leaving Control-scroll to zoom. Defaults to true on macOS, where trackpad scrolling reads as panning, and false elsewhere.
ScrollWheelBehavior
Section titled “ScrollWheelBehavior”public static BitQuirky.Graph.GraphView.GraphScrollWheelBehavior ScrollWheelBehavior { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:298-299
Scroll handling the canvas should install, derived from ScrollMovesViewport: pan with Control-to-zoom when it is on, plain zoom when it is off.
ZoomSensitivity
Section titled “ZoomSensitivity”public static float ZoomSensitivity { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:135-139
Multiplier applied to each wheel notch before it changes zoom; higher values zoom faster. Defaults to DefaultZoomSensitivity.
Changed
Section titled “Changed”public static event System.Action ChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:92-96
Raised whenever any stored preference changes, so open editor windows can re-apply theme and interaction settings immediately.
DefaultCanvasBackgroundHex
Section titled “DefaultCanvasBackgroundHex”public const string DefaultCanvasBackgroundHex = "#38383e"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:35
Default canvas background color, as a hex string.
DefaultEdgeActiveColorHex
Section titled “DefaultEdgeActiveColorHex”public const string DefaultEdgeActiveColorHex = "#4c86d2"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:49
Default color of an edge on the active path, as a hex string.
DefaultEdgeActiveStrokeWidth
Section titled “DefaultEdgeActiveStrokeWidth”public const float DefaultEdgeActiveStrokeWidth = 1.75Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:51
Default active edge stroke width, in canvas units.
DefaultEdgeIdleColorHex
Section titled “DefaultEdgeIdleColorHex”public const string DefaultEdgeIdleColorHex = "#9a9aa0"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:43
Default color of an idle edge, as a hex string.
DefaultEdgeIdleOpacity
Section titled “DefaultEdgeIdleOpacity”public const float DefaultEdgeIdleOpacity = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:47
Default idle edge opacity, from 0 to 1.
DefaultEdgeIdleStrokeWidth
Section titled “DefaultEdgeIdleStrokeWidth”public const float DefaultEdgeIdleStrokeWidth = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:45
Default idle edge stroke width, in canvas units.
DefaultEdgeRoutingIndex
Section titled “DefaultEdgeRoutingIndex”public const int DefaultEdgeRoutingIndex = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:41
Default entry in the edge routing choices.
DefaultEdgeStyleIndex
Section titled “DefaultEdgeStyleIndex”public const int DefaultEdgeStyleIndex = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:33
Default entry in the edge style choices.
DefaultGridDotFrequency
Section titled “DefaultGridDotFrequency”public const int DefaultGridDotFrequency = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:23
Default number of grid cells between dots; 1 draws a dot at every intersection.
DefaultGridDotHex
Section titled “DefaultGridDotHex”public const string DefaultGridDotHex = "#1a1a1c"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:39
Default grid dot color, as a hex string.
DefaultGridDotRadius
Section titled “DefaultGridDotRadius”public const float DefaultGridDotRadius = 1.1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:25
Default grid dot radius in canvas units.
DefaultGridLineHex
Section titled “DefaultGridLineHex”public const string DefaultGridLineHex = "#3a3a40"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:37
Default grid line color, as a hex string.
DefaultGridSpacing
Section titled “DefaultGridSpacing”public const float DefaultGridSpacing = 24Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:21
Default distance between grid lines, in canvas units at 100% zoom.
DefaultInsertionTraceDashLength
Section titled “DefaultInsertionTraceDashLength”public const float DefaultInsertionTraceDashLength = 5Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:55
Default dash length of the insertion trace, in canvas units.
DefaultInsertionTraceGapLength
Section titled “DefaultInsertionTraceGapLength”public const float DefaultInsertionTraceGapLength = 4Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:57
Default gap between insertion trace dashes, in canvas units.
DefaultInsertionTraceHorizontalOffset
Section titled “DefaultInsertionTraceHorizontalOffset”public const float DefaultInsertionTraceHorizontalOffset = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:59
Default horizontal inset of the insertion trace from the card edge, in canvas units.
DefaultInsertionTraceStartOffset
Section titled “DefaultInsertionTraceStartOffset”public const float DefaultInsertionTraceStartOffset = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:63
Default distance the insertion trace starts away from its anchor, in canvas units.
DefaultInsertionTraceStrokeWidth
Section titled “DefaultInsertionTraceStrokeWidth”public const float DefaultInsertionTraceStrokeWidth = 1.1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:53
Default stroke width of the dashed insertion trace, in canvas units.
DefaultInsertionTraceVerticalOffset
Section titled “DefaultInsertionTraceVerticalOffset”public const float DefaultInsertionTraceVerticalOffset = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:61
Default vertical inset of the insertion trace from the card edge, in canvas units.
DefaultInvertZoomDirection
Section titled “DefaultInvertZoomDirection”public const bool DefaultInvertZoomDirection = falseSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:29
Default for whether scrolling up zooms out instead of in.
DefaultNodeDensityIndex
Section titled “DefaultNodeDensityIndex”public const int DefaultNodeDensityIndex = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:31
Default entry in the node density choices, from most compact to most spacious.
DefaultZoomSensitivity
Section titled “DefaultZoomSensitivity”public const float DefaultZoomSensitivity = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:27
Default multiplier applied to scroll-wheel zoom steps.
ApplyTo(GraphViewHost host)
Section titled “ApplyTo(GraphViewHost host)”public static void ApplyTo(BitQuirky.Graph.GraphView.GraphViewHost host)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:310-311
Applies the author’s current preference values to a live graph host, so an open window picks up a preference change.
ApplyTo(GraphViewOptions options)
Section titled “ApplyTo(GraphViewOptions options)”public static void ApplyTo(BitQuirky.Graph.GraphView.GraphViewOptions options)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:306-307
Copies the author’s current preference values into the view options.
CreateSettingsProvider()
Section titled “CreateSettingsProvider()”public static UnityEditor.SettingsProvider CreateSettingsProvider()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:314-344
Builds the Project Settings page for the behavior tree editor. Unity discovers it through the SettingsProvider attribute.
CreateTheme()
Section titled “CreateTheme()”public static BitQuirky.Graph.GraphView.GraphTheme CreateTheme()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:302-303
Builds a graph theme from the author’s current preference values.
BehaviorTreeEditorStatusBar
Section titled “BehaviorTreeEditorStatusBar”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditorStatusBarSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:23-675
Inherits: VisualElement
Minimal product status bar shown below the behavior canvas.
Responsibilities:
- Left: exact graph counts (“Nodes N · Decorators N · Blackboard N”).
- Right (Static): validation verdict (“check all parameters valid”) or the first contextual message (saving, conflict, validation problem).
- Right (Live): ticking indicator (“pip State ticking · Tick N.N Hz”), or the amber member target reading naming the variable, or on the entity path the authored target and its own reason, that did not resolve on the last evaluation.
Does NOT:
- Duplicate toolbar metadata or read a runtime binding directly.
Members
Section titled “Members”BehaviorTreeEditorStatusBar()
Section titled “BehaviorTreeEditorStatusBar()”public BehaviorTreeEditorStatusBar()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:86-170
Creates the exact status composition.
ClearBlackboardFaultReading()
Section titled “ClearBlackboardFaultReading()”public void ClearBlackboardFaultReading()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:479-484
Drops the blackboard fault reading, as the recovery does the moment it lands.
ClearLiveMetadata()
Section titled “ClearLiveMetadata()”public void ClearLiveMetadata()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:287-292
Clears Live metadata and returns the right slot to the static verdict.
ClearLocatedReading()
Section titled “ClearLocatedReading()”public void ClearLocatedReading()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:414-423
Drops the located reading, restoring whatever the right slot showed before the Reference Scan revealed the node.
ClearStateMachineMetadata()
Section titled “ClearStateMachineMetadata()”public void ClearStateMachineMetadata()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:238-249
Hides the state machine right slot when leaving SM documents.
ClearStaticMetadata()
Section titled “ClearStaticMetadata()”public void ClearStaticMetadata()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:453-456
Clears Static-specific metadata.
ClearTargetUnresolvedReading()
Section titled “ClearTargetUnresolvedReading()”public void ClearTargetUnresolvedReading()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:378-387
Drops the live target reading, as the next evaluation does the moment the variable holds a usable object again.
ClearTransientMessage()
Section titled “ClearTransientMessage()”public void ClearTransientMessage()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:585-594
Clears the current temporary message.
ClearTransientMessage(ulong token)
Section titled “ClearTransientMessage(ulong token)”public void ClearTransientMessage(ulong token)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:597-604
Clears a temporary message only while the supplied token still owns it.
PostTransientMessage(string message, long visibleMilliseconds)
Section titled “PostTransientMessage(string message, long visibleMilliseconds)”public ulong PostTransientMessage(string message, long visibleMilliseconds = 4000)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:556-582
Shows a temporary contextual message and returns its ownership token, or zero when no message was posted. A caller may clear only its own notice with that token.
SetBlackboardFaultReading(BlackboardFault fault)
Section titled “SetBlackboardFaultReading(BlackboardFault fault)”public void SetBlackboardFaultReading(BitQuirky.Behavior.Editor.BlackboardFault fault)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:463-476
States one blackboard fault in the status bar, naming the variable that carries it and the exact element, field or entry it is aimed at, exactly as a broken member binding is named here.
SetContextMessage(string message, BehaviorTreeEditorStatusBar.ContextMessageKind kind)
Section titled “SetContextMessage(string message, BehaviorTreeEditorStatusBar.ContextMessageKind kind)”public void SetContextMessage(string message, BitQuirky.Behavior.Editor.BehaviorTreeEditorStatusBar.ContextMessageKind kind = Neutral)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:518-526
Sets the persistent contextual message shown on the right slot.
SetGraphCounts(int nodeCount, int decoratorCount, int blackboardFieldCount)
Section titled “SetGraphCounts(int nodeCount, int decoratorCount, int blackboardFieldCount)”public void SetGraphCounts(int nodeCount, int decoratorCount, int blackboardFieldCount)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:173-178
Updates the visible graph counts.
SetLocatedReading(string authoredNodeId)
Section titled “SetLocatedReading(string authoredNodeId)”public void SetLocatedReading(string authoredNodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:394-408
Names the node the Reference Scan located, as view state only: the reading states that the selection came from the scan and that nothing changed. It shows until the next normal graph-editor interaction clears it.
SetStateMachineCounts(int stateCount, int transitionCount)
Section titled “SetStateMachineCounts(int stateCount, int transitionCount)”public void SetStateMachineCounts(int stateCount, int transitionCount)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:181-185
Updates the visible counts for a state machine document.
SetTargetUnresolvedReading(BehaviorMemberTargetReading reading)
Section titled “SetTargetUnresolvedReading(BehaviorMemberTargetReading reading)”public void SetTargetUnresolvedReading(BitQuirky.Behavior.Member.BehaviorMemberTargetReading reading)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:322-341
Shows the exact unresolved reading. A missing-component carrier names the object that was examined, while the older empty and mismatch states retain their compact wording. An entity reading names its authored target and its own reason, because the four entity readings are one case to the tree and four different things to go and look at. The line is amber on both paths and reports the last evaluation only.
SetTargetUnresolvedReading(string variableName)
Section titled “SetTargetUnresolvedReading(string variableName)”public void SetTargetUnresolvedReading(string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:299-313
Names the variable whose target did not resolve on the last evaluation, and states that the node failed it. This reports one evaluation and is never written into the graph.
UpdateLiveDetachedMetadata()
Section titled “UpdateLiveDetachedMetadata()”public void UpdateLiveDetachedMetadata()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:280-284
Shows a Behavior Tree Live document the author detached by selecting an object with no agent: the message slot carries a neutral detached reading, never the lost one.
UpdateLiveMetadata(bool isAttached, bool isPaused, bool isLost, float tickRateHz)
Section titled “UpdateLiveMetadata(bool isAttached, bool isPaused, bool isLost, float tickRateHz)”public void UpdateLiveMetadata(bool isAttached, bool isPaused, bool isLost, float tickRateHz)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:266-274
Shows the Live ticking indicator on the right slot.
UpdateStateMachineLiveDetachedMetadata()
Section titled “UpdateStateMachineLiveDetachedMetadata()”public void UpdateStateMachineLiveDetachedMetadata()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:230-235
Shows a state machine Live document the author detached by selecting an object with no agent: a neutral detached reading, never the lost one, because the runtime still runs and keeps any live edit it holds.
UpdateStateMachineLiveMetadata(bool isAttached, bool isLost, float tickRateHz)
Section titled “UpdateStateMachineLiveMetadata(bool isAttached, bool isLost, float tickRateHz)”public void UpdateStateMachineLiveMetadata(bool isAttached, bool isLost, float tickRateHz)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:207-223
Shows the state machine Live attachment state on the right slot.
UpdateStateMachineStaticMetadata(bool isDirty, bool hasConflict)
Section titled “UpdateStateMachineStaticMetadata(bool isDirty, bool hasConflict)”public void UpdateStateMachineStaticMetadata(bool isDirty, bool hasConflict)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:188-204
Shows the state machine Static save state on the right slot.
UpdateStaticMetadata(string assetState, bool isDirty, bool hasConflict)
Section titled “UpdateStaticMetadata(string assetState, bool isDirty, bool hasConflict)”public void UpdateStaticMetadata(string assetState, bool isDirty, bool hasConflict)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:426-450
Updates Static dirty, conflict, and saved presentation.
BehaviorTreeEditorToolbar
Section titled “BehaviorTreeEditorToolbar”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditorToolbarSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:39-1507
Inherits: VisualElement
Top-of-window toolbar for the Behavior Tree Editor. Carries the always-on controls listed in (Reload, inline node search, Static/Live mode segmented, Layout menu, Lock pan/zoom) plus the Live-only metadata column (Pause/Resume + Step + follower id + attached pip + tick-rate readout) per , , .
Responsibilities:
- Compose the toolbar as a single horizontal row of design-system controls (ToolbarButton, SearchField, SegmentedControl, StatusPip, Label) so the window can drop it in unmodified.
- Expose Reload / Search / Mode / Layout / Lock toggles plus Pause/Step events the window wires to the binding and debug-control surfaces.
- Carry current Live metadata via UpdateLiveMetadata; Static documents call ClearLiveMetadata so the Pause/Step/Identity slots disable cleanly, and state through SetLiveUnavailableReason whether Live can open from them.
- Carry the member binding bake verdict and, separately, the amber count of targets that did not resolve on the last evaluation, as two chips that are never combined into one number.
Does NOT:
- Read the binding directly; the window owns the refresh path and pushes values here. The toolbar is a presentation surface.
- Mutate the underlying document; every interaction surfaces as an event the window handles.
Members
Section titled “Members”IsPaused
Section titled “IsPaused”public bool IsPaused { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:273
Whether the live pause control is currently engaged.
LockPanZoom
Section titled “LockPanZoom”public bool LockPanZoom { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:248-252
Whether canvas pan and zoom are locked. Setting this updates the toolbar control without raising the lock-changed event, so the window can push its own state back in without echoing.
LockPanZoomCommandLabel
Section titled “LockPanZoomCommandLabel”public string LockPanZoomCommandLabel { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:255-257
Gets the overflow command that toggles the current pan and zoom lock state.
public BitQuirky.Behavior.Editor.BehaviorTreeEditorToolbar.ModeSelection Mode { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:264-270
Which of the Live and Static segments is selected. Setting this moves the segmented control; anything other than Live reads back as Static.
NodeSearchField
Section titled “NodeSearchField”public BitQuirky.Graph.GraphView.Controls.SearchField NodeSearchField { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:241
The right-aligned node-search input shared by focus shortcuts and the result popover.
OnAssetIdentityClicked
Section titled “OnAssetIdentityClicked”public event System.Action OnAssetIdentityClickedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:224
Raised when the author clicks the asset identity, asking the window to ping the asset.
OnFollowerIdentityClicked
Section titled “OnFollowerIdentityClicked”public event System.Action OnFollowerIdentityClickedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:216
Raised when the author clicks the follower identity, asking the window to reveal the followed object.
OnLayoutMenuRequested
Section titled “OnLayoutMenuRequested”public event System.Action OnLayoutMenuRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:208
Raised when the author opens the layout menu.
OnLockPanZoomChanged
Section titled “OnLockPanZoomChanged”public event System.Action<bool> OnLockPanZoomChangedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:210
Raised with the new state when the author locks or unlocks pan and zoom.
OnModeChanged
Section titled “OnModeChanged”public event System.Action<BitQuirky.Behavior.Editor.BehaviorTreeEditorToolbar.ModeSelection> OnModeChangedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:206
Raised with the newly selected surface after the author switches mode.
OnOpenConflictResolution
Section titled “OnOpenConflictResolution”public event System.Action OnOpenConflictResolutionSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:226
Raised when the author asks to resolve an external change to the file on disk.
OnPauseToggled
Section titled “OnPauseToggled”public event System.Action<bool> OnPauseToggledSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:212
Raised with the new paused state when the author toggles the live pause control.
OnRedoRequested
Section titled “OnRedoRequested”public event System.Action OnRedoRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:222
Raised when the author asks to redo the last undone edit.
OnReloadRequested
Section titled “OnReloadRequested”public event System.Action OnReloadRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:202
Raised when the author asks to reload the open asset from disk.
OnSaveRequested
Section titled “OnSaveRequested”public event System.Action OnSaveRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:218
Raised when the author asks to save and bake the open asset.
OnSearchInvoked
Section titled “OnSearchInvoked”public event System.Action OnSearchInvokedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:204
Raised when focus or a left pointer press invokes the inline node search.
OnStateMachineOverflowRequested
Section titled “OnStateMachineOverflowRequested”public event System.Action<UnityEngine.UIElements.VisualElement> OnStateMachineOverflowRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:234
Raised with the overflow button when the author opens the State Machine overflow menu, so the window can anchor the menu under it.
OnStepRequested
Section titled “OnStepRequested”public event System.Action OnStepRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:214
Raised when the author asks the live follower to advance one tick.
OnUndoRequested
Section titled “OnUndoRequested”public event System.Action OnUndoRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:220
Raised when the author asks to undo the last edit.
OnVerdictClicked
Section titled “OnVerdictClicked”public event System.Action<UnityEngine.UIElements.VisualElement> OnVerdictClickedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:232
Raised when any verdict chip (graph, member binding, blackboard, live target) is clicked, carrying the clicked chip so the window can anchor the issues dropdown under it.
BehaviorTreeEditorToolbar()
Section titled “BehaviorTreeEditorToolbar()”public BehaviorTreeEditorToolbar()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:299-612
Builds the toolbar: reload, undo, redo, and save on the left, then the asset identity, mode segments, verdict chips, live controls, and the node search field. Every control starts in its neutral state and reports author intent through the events above.
ClearBlackboardVerdict()
Section titled “ClearBlackboardVerdict()”public void ClearBlackboardVerdict()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:1149-1154
Hide the blackboard verdict chip (the empty window declares nothing).
ClearLiveMetadata()
Section titled “ClearLiveMetadata()”public void ClearLiveMetadata()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:836-861
Hides the live strip and resets every live reading to its unattached state.
ClearMemberBindingVerdict()
Section titled “ClearMemberBindingVerdict()”public void ClearMemberBindingVerdict()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:1119-1124
Hide the member binding verdict chip (SM documents and the empty window).
ClearStaticMetadata()
Section titled “ClearStaticMetadata()”public void ClearStaticMetadata()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:916-929
Hides the Static strip, disables its commands, and hides the conflict affordance.
ClearUnresolvedTargetCount()
Section titled “ClearUnresolvedTargetCount()”public void ClearUnresolvedTargetCount()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:1208-1214
Hide the live target chip: nothing is unresolved, or nothing is attached.
ClearVerdict()
Section titled “ClearVerdict()”public void ClearVerdict()Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:1086-1091
Hide the verdict chip when no graph document is open.
SetBlackboardVerdict(bool isValid, int issueCount)
Section titled “SetBlackboardVerdict(bool isValid, int issueCount)”public void SetBlackboardVerdict(bool isValid, int issueCount)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:1132-1146
Show the blackboard verdict: green “Blackboard valid” when every declared variable resolves, holds a valid value and can run on this graph’s path, red “N blackboard issues” otherwise. The chip and its tiers are the ones a broken binding already uses, and the label names the domain it counts.
SetLiveControlsEnabled(bool enabled)
Section titled “SetLiveControlsEnabled(bool enabled)”public void SetLiveControlsEnabled(bool enabled)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:864-876
Shows or hides the live strip as a whole; disabling it clears the live readings.
SetMemberBindingVerdict(bool isValid, int issueCount)
Section titled “SetMemberBindingVerdict(bool isValid, int issueCount)”public void SetMemberBindingVerdict(bool isValid, int issueCount)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:1101-1116
Show the member binding bake verdict: green “Bindings valid” when every binding bakes, red “N binding issues” otherwise. This answers one question, whether the asset is sound, and a live reading never changes it on either runtime path: an entity that was destroyed, a component the archetype dropped, a singleton count that moved and an addressed entry outside its buffer are all the world moving, not the graph being wrong.
SetModeSwitchInteractionEnabled(bool enabled)
Section titled “SetModeSwitchInteractionEnabled(bool enabled)”public void SetModeSwitchInteractionEnabled(bool enabled)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:963-971
Enables or disables the author’s ability to switch surfaces, leaving the current selection in place.
SetReadOnlyEntityMode(bool enabled, bool entityAlive)
Section titled “SetReadOnlyEntityMode(bool enabled, bool entityAlive)”public void SetReadOnlyEntityMode(bool enabled, bool entityAlive)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:773-780
Applies the approved read-only pure-entity toolbar treatment.
SetStateMachineArrangement(bool stateMachine)
Section titled “SetStateMachineArrangement(bool stateMachine)”public void SetStateMachineArrangement(bool stateMachine)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:990-999
Applies graph-kind metadata without changing the shared toolbar sequence.
SetStateMachineCompact(bool compact)
Section titled “SetStateMachineCompact(bool compact)”public void SetStateMachineCompact(bool compact)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:1007-1029
Condenses either graph toolbar at 760 px: the same sequence stays, controls condense,
Layout then Lock move into the trailing overflow, and the inline search remains usable
at the right edge. Which readings the remaining width can seat is decided by
RefitRow, not by this tier.
SetStateMachineLiveArrangement(bool stateMachine)
Section titled “SetStateMachineLiveArrangement(bool stateMachine)”public void SetStateMachineLiveArrangement(bool stateMachine)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:1050-1064
Changes only the runtime-target caption. Both graph editors retain the shared Pause, Step, target identity, attachment, read-only, and tick-rate sequence.
SetUnresolvedTargetCount(int count)
Section titled “SetUnresolvedTargetCount(int count)”public void SetUnresolvedTargetCount(int count)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:1191-1205
Show the amber live chip counting the nodes whose member target did not resolve on the last evaluation. A count of zero hides the chip, because the reading clears as soon as every target resolves again. It is a physically separate chip from the bake verdict on both runtime paths, so the two verdicts are never merged into one number.
SetVerdict(bool isValid, int issueCount)
Section titled “SetVerdict(bool isValid, int issueCount)”public void SetVerdict(bool isValid, int issueCount)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:1070-1083
Show the shared graph validation verdict chip: green “Valid” when the graph has no problems, red “N issues” otherwise.
UpdateLiveMetadata(string followerIdentity, bool isAttached, bool isPaused, bool isLost, float tickRateHz)
Section titled “UpdateLiveMetadata(string followerIdentity, bool isAttached, bool isPaused, bool isLost, float tickRateHz)”public void UpdateLiveMetadata(string followerIdentity, bool isAttached, bool isPaused, bool isLost, float tickRateHz)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:707-768
Shows the live strip for the given follower, updating the attachment, paused, lost, and tick-rate readings.
UpdateStaticMetadata(string assetTitle, string saveUnavailableReason, bool canUndo, bool canRedo, bool hasConflict, string runtimeSuffix)
Section titled “UpdateStaticMetadata(string assetTitle, string saveUnavailableReason, bool canUndo, bool canRedo, bool hasConflict, string runtimeSuffix)”public void UpdateStaticMetadata(string assetTitle, string saveUnavailableReason, bool canUndo, bool canRedo, bool hasConflict, string runtimeSuffix = null)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:885-913
Shows the Static strip for the open asset: Save is offered when
saveUnavailableReasonis null or empty and otherwise stays
unavailable, stating that reason on hover; Undo, Redo, and the conflict affordance
follow the flags. An empty title renders as “(No asset)”;runtimeSuffix
is appended as a secondary reading when supplied.
BehaviorTreeEditorWindowBackend
Section titled “BehaviorTreeEditorWindowBackend”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackendSource declarations: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.ReloadState.cs:16-170, Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.Retained.cs:25-630, Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:212-28806
Inherits: BehaviorEditorWindowBackend
Implements: IBehaviorTreeEditorWindowBackend
Responsibilities: preserve document-scoped interaction state across assembly reload. Does NOT: serialize authoring commands, runtime observations or active pointer gestures.
Members
Section titled “Members”BreakpointService
Section titled “BreakpointService”public BitQuirky.Behavior.Editor.BehaviorTreeBreakpointService BreakpointService { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1259
Breakpoint service backing the canvas gutter, shared by every document this window opens.
public BitQuirky.Graph.GraphView.GraphTheme Theme { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1261
Graph theme currently applied to the canvas.
ViewOptions
Section titled “ViewOptions”public BitQuirky.Graph.GraphView.GraphViewOptions ViewOptions { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1263
View options currently applied to the canvas.
CreateGUI()
Section titled “CreateGUI()”public override void CreateGUI()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:5938-6008
Builds the stable owner’s retained-mode visual tree.
GetOrOpen()
Section titled “GetOrOpen()”public static BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackend GetOrOpen()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1456-1459
Opens the Behavior Tree Editor, or focuses the existing window, and returns it.
GetOrOpen(GraphViewOptions viewOptions, GraphTheme theme)
Section titled “GetOrOpen(GraphViewOptions viewOptions, GraphTheme theme)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackend GetOrOpen(BitQuirky.Graph.GraphView.GraphViewOptions viewOptions, BitQuirky.Graph.GraphView.GraphTheme theme)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1567-1572
Opens or focuses the window and applies the supplied view options and theme to its canvas.
IsViewingLiveFollower(int followerId)
Section titled “IsViewingLiveFollower(int followerId)”public bool IsViewingLiveFollower(int followerId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1265-1266
Whether this window is presenting the Live document for the given follower right now.
IsViewingOrOpeningLiveFollower(int followerId)
Section titled “IsViewingOrOpeningLiveFollower(int followerId)”public bool IsViewingOrOpeningLiveFollower(int followerId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1268-1270
Whether this window is presenting the given follower, or has that follower queued as its next document. Callers use this to avoid opening a second window for a follower that is already on its way in.
OnBecameInvisible()
Section titled “OnBecameInvisible()”public override void OnBecameInvisible()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:6078-6083
Suspends visibility-dependent presentation work when the window is hidden.
OnBecameVisible()
Section titled “OnBecameVisible()”public override void OnBecameVisible()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:6071-6075
Resumes presentation work when the stable window becomes visible.
OnDestroy()
Section titled “OnDestroy()”public override void OnDestroy()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:6037-6068
Releases presentation resources when the stable window is destroyed.
OnDisable()
Section titled “OnDisable()”public override void OnDisable()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.ReloadState.cs:34-37
Releases transient presentation subscriptions when the window is disabled.
OnEnable()
Section titled “OnEnable()”public override void OnEnable()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.ReloadState.cs:27-31
Responsibilities: retain stable source identities and window-local presentation data. Does NOT: own a graph document or retain managed bindings and visual elements.
OpenDesignFixture()
Section titled “OpenDesignFixture()”public static BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackend OpenDesignFixture()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:2030-2040
Opens or focuses the window on the built-in design fixture in its Live view. Drives the Tools menu entry and the editor test fixtures and golden captures.
OpenDesignFixtureStatic()
Section titled “OpenDesignFixtureStatic()”public static BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackend OpenDesignFixtureStatic()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:2046-2056
Opens the design fixture presenting the Static (asset) view instead of the Live view.
OpenLive(IBehaviorGraphDebuggerBinding binding, IBehaviorGraphDebugControl debugControl, Guid artifactGuid, string displayName, Func<BehaviorPendingExternalSnapshot, int, BehaviorTreePendingRequestRow> pendingAdapter, Func<int, string> liveFollowerOpenRequest, Func<int?> selectedFollowerIdProvider)
Section titled “OpenLive(IBehaviorGraphDebuggerBinding binding, IBehaviorGraphDebugControl debugControl, Guid artifactGuid, string displayName, Func<BehaviorPendingExternalSnapshot, int, BehaviorTreePendingRequestRow> pendingAdapter, Func<int, string> liveFollowerOpenRequest, Func<int?> selectedFollowerIdProvider)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackend OpenLive(BitQuirky.Behavior.Editor.IBehaviorGraphDebuggerBinding binding, BitQuirky.Behavior.Editor.IBehaviorGraphDebugControl debugControl, System.Guid artifactGuid, string displayName, System.Func<BitQuirky.Behavior.Editor.BehaviorPendingExternalSnapshot, int, BitQuirky.Behavior.Editor.BehaviorTreePendingRequestRow> pendingAdapter, System.Func<int, string> liveFollowerOpenRequest, System.Func<int?> selectedFollowerIdProvider)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1615-1633
Opens or focuses the window and shows a Live document following one debugger binding. The callbacks adapt pending external rows, request a different follower, and report which follower the host has selected.
OpenLive(IBehaviorGraphDebuggerBinding binding, IBehaviorGraphDebugControl debugControl, Guid artifactGuid, string displayName, Func<BehaviorPendingExternalSnapshot, int, BehaviorTreePendingRequestRow> pendingAdapter, Func<int, string> liveFollowerOpenRequest, Func<int?> selectedFollowerIdProvider, IBehaviorMemberTargetReadingSource memberTargetReadingSource)
Section titled “OpenLive(IBehaviorGraphDebuggerBinding binding, IBehaviorGraphDebugControl debugControl, Guid artifactGuid, string displayName, Func<BehaviorPendingExternalSnapshot, int, BehaviorTreePendingRequestRow> pendingAdapter, Func<int, string> liveFollowerOpenRequest, Func<int?> selectedFollowerIdProvider, IBehaviorMemberTargetReadingSource memberTargetReadingSource)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackend OpenLive(BitQuirky.Behavior.Editor.IBehaviorGraphDebuggerBinding binding, BitQuirky.Behavior.Editor.IBehaviorGraphDebugControl debugControl, System.Guid artifactGuid, string displayName, System.Func<BitQuirky.Behavior.Editor.BehaviorPendingExternalSnapshot, int, BitQuirky.Behavior.Editor.BehaviorTreePendingRequestRow> pendingAdapter, System.Func<int, string> liveFollowerOpenRequest, System.Func<int?> selectedFollowerIdProvider, BitQuirky.Behavior.Editor.IBehaviorMemberTargetReadingSource memberTargetReadingSource)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1640-1674
Opens a live document with an independently supplied member-target reading source. Existing debugger bindings can remain unchanged and pass a BehaviorAgentMemberTargetReadingSourcefor their runtime agent.
OpenLiveReadOnly(BehaviorEntityDebuggerBinding binding)
Section titled “OpenLiveReadOnly(BehaviorEntityDebuggerBinding binding)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackend OpenLiveReadOnly(BitQuirky.Behavior.Editor.BehaviorEntityDebuggerBinding binding)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1680-1704
Opens a pure-entity live document without per-entity execution-control authority. Its existing Pause and Step controls mirror Unity’s global Play mode controls.
OpenStateMachineDesignFixture(bool transitionFired)
Section titled “OpenStateMachineDesignFixture(bool transitionFired)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackend OpenStateMachineDesignFixture(bool transitionFired)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:2063-2074
Opens the Live state machine design fixture: resting when
transitionFiredis false, showing the
last-fired transition when it is true.
OpenStatic(string assetPath, BehaviorTreeStaticBinding binding, string displayName, Action<string, BehaviorTreeStaticBinding> rebakeCallback, BehaviorTreeEditorWindowBackend targetWindow)
Section titled “OpenStatic(string assetPath, BehaviorTreeStaticBinding binding, string displayName, Action<string, BehaviorTreeStaticBinding> rebakeCallback, BehaviorTreeEditorWindowBackend targetWindow)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackend OpenStatic(string assetPath, BitQuirky.Behavior.Editor.BehaviorTreeStaticBinding binding, string displayName, System.Action<string, BitQuirky.Behavior.Editor.BehaviorTreeStaticBinding> rebakeCallback, BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackend targetWindow = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1587-1612
Open or focus the window and show a Static document for the
.bqbehavior asset at assetPath. The
caller supplies a baked artifact via
bindingso the canvas can render
immediately; the window separately constructs the
BehaviorTreeEditingSessionfrom the on-disk
source for undo / redo / save . The
rebakeCallbackis invoked after an explicit
save-and-bake request so the project layer can hand a
fresh artifact back through
ReplaceArtifact.
BehaviorTreeGraphAdapter
Section titled “BehaviorTreeGraphAdapter”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeGraphAdapterSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:47-2322
Translates aBakedBehaviorArtifactinto the graph library’sGraphDefinition+ a pair of lookup tables (baked index ↔ node Guid) the Live document uses to resolve trace.ActiveNodeIndex back to the on-canvas node.
Responsibilities:
- Build a freshGraphDefinitionwith visible behavior-tree nodes as cards. Decorators are represented by the first non-decorator child so the editor can render them as attached pills instead of standalone cards.
- Populate the supplied dictionaries so the consumer can convert baked indices to Guids and back without re-walking the artifact.
- Stay pure: no Unity / editor calls; safe to call from any editor context.
Does NOT:
- Pull source positions or per-asset layout; the graph host
re-lays the tree via its layout strategy on each
SetModel. - Resolve breakpoint / live state; the consumer overlays those onto the canvas after the host renders.
- Own the legacy / phased / mixed action-state rule; that definition lives inActionStatePhaseConversion so the projection, explicit upgrade, and baker agree.
Members
Section titled “Members”Build(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex)
Section titled “Build(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex)”public static BitQuirky.Graph.GraphDefinition Build(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, System.Collections.Generic.Dictionary<int, System.Guid> indexToId, System.Collections.Generic.Dictionary<System.Guid, int> idToIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1448-1555
Build the graph + bidirectional index maps from an artifact. Returns an empty graph + cleared maps when the artifact has no baked nodes.
BuildStateMachine(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex)
Section titled “BuildStateMachine(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex)”public static BitQuirky.Graph.GraphDefinition BuildStateMachine(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, System.Collections.Generic.Dictionary<int, System.Guid> indexToId, System.Collections.Generic.Dictionary<System.Guid, int> idToIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1586-1693
Build the state machine graph from a baked artifact: only states render as cards. Actions map to their owning state’s card (contained row), transitions become state-to-state edges carrying deterministic LiveEdgeIds derived from the transition row so the consumer can resolve edge treatment (idle / fired) per transition.
BuildStatic(BehaviorSourceAst ast, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)
Section titled “BuildStatic(BehaviorSourceAst ast, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)”public static BitQuirky.Graph.GraphDefinition BuildStatic(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string assetGuid, System.Collections.Generic.Dictionary<string, System.Guid> sourceIdToGuid, System.Collections.Generic.Dictionary<System.Guid, string> guidToSourceId, out BitQuirky.Graph.GraphView.ViewModels.LayoutState layout)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:239-339
Builds an editable Static graph directly from canonical source state. Stable node identities combine the asset GUID and authored node id.
BuildStaticHostedTree(BehaviorSourceAst ast, string hostedRootId, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)
Section titled “BuildStaticHostedTree(BehaviorSourceAst ast, string hostedRootId, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)”public static BitQuirky.Graph.GraphDefinition BuildStaticHostedTree(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string hostedRootId, string assetGuid, System.Collections.Generic.Dictionary<string, System.Guid> sourceIdToGuid, System.Collections.Generic.Dictionary<System.Guid, string> guidToSourceId, out BitQuirky.Graph.GraphView.ViewModels.LayoutState layout)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:470-484
Builds the editable Behavior Tree canvas for one in-document hosted root while keeping the owning State Machine document and its canonical editing session authoritative. Nodes outside the rooted containment subtree never enter the projection; their source objects, identities, parameters, blackboard bindings, and authored order remain in the shared document untouched.
BuildStaticStateMachine(BehaviorSourceAst ast, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)
Section titled “BuildStaticStateMachine(BehaviorSourceAst ast, string assetGuid, Dictionary<string, Guid> sourceIdToGuid, Dictionary<Guid, string> guidToSourceId, out LayoutState layout)”public static BitQuirky.Graph.GraphDefinition BuildStaticStateMachine(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string assetGuid, System.Collections.Generic.Dictionary<string, System.Guid> sourceIdToGuid, System.Collections.Generic.Dictionary<System.Guid, string> guidToSourceId, out BitQuirky.Graph.GraphView.ViewModels.LayoutState layout)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:917-982
Builds an editable Static state machine graph from canonical source state. Only states render as cards: actions ride their owning state’s card as a contained row and transitions ride the state-to-state edges as pills, so neither becomes a node. Every authored id (states, actions, transitions, root) is still registered in the lookup dictionaries so selection and inspector routing keep working for the hidden members.
ComputeActivePathNodeIndices(BakedBehaviorArtifact artifact, int bakedIndex)
Section titled “ComputeActivePathNodeIndices(BakedBehaviorArtifact artifact, int bakedIndex)”public static System.Collections.Generic.HashSet<int> ComputeActivePathNodeIndices(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, int bakedIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1562-1576
Walk parent-pointers frombakedIndexback
to the root, returning the unique baked indices that form the
active path. Used by the Live render to mark active edges.
DecoratorCount(BakedBehaviorArtifact artifact)
Section titled “DecoratorCount(BakedBehaviorArtifact artifact)”public static int DecoratorCount(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1932
Count nodes the BT graph considers decorators .
DescribeNode(BakedBehaviorArtifact artifact, int bakedIndex)
Section titled “DescribeNode(BakedBehaviorArtifact artifact, int bakedIndex)”public static string DescribeNode(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, int bakedIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1776-1782
Resolve a baked node index to its short display name for inspector status fields.
DescribeTransition(BakedBehaviorArtifact artifact, int transitionId, int causeId)
Section titled “DescribeTransition(BakedBehaviorArtifact artifact, int transitionId, int causeId)”public static string DescribeTransition(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, int transitionId, int causeId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1788-1811
Resolve the human-readable form of a transition for the Last-transition row in Runtime Status.
FindContainedActionId(BehaviorSourceAst ast, string stateId)
Section titled “FindContainedActionId(BehaviorSourceAst ast, string stateId)”public static string FindContainedActionId(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string stateId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1076-1080
Find the state’s immediate action child id, or null.
FindContainedActionIds(BehaviorSourceAst ast, string stateId)
Section titled “FindContainedActionIds(BehaviorSourceAst ast, string stateId)”public static System.Collections.Generic.IReadOnlyList<string> FindContainedActionIds(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string stateId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1083-1102
Find every immediate action child in authored edge order.
FindContainedActionIds(BehaviorSourceAst ast, string stateId, string phaseToken)
Section titled “FindContainedActionIds(BehaviorSourceAst ast, string stateId, string phaseToken)”public static System.Collections.Generic.IReadOnlyList<string> FindContainedActionIds(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string stateId, string phaseToken)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1109-1137
Find every immediate action child that belongs to one lifecycle group, in authored
edge order. An action that omitsaction_phase, or authors a token this editor
does not recognize, projects into Active Update.
IsPhasedActionState(BehaviorSourceAst ast, string stateId)
Section titled “IsPhasedActionState(BehaviorSourceAst ast, string stateId)”public static bool IsPhasedActionState(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string stateId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1155-1158
Gets whether one state authors an explicit lifecycle representation. The shared
authoring rule keeps projection, explicit upgrade, and baking consistent. Mixed
phased and unphased authoring is invalid and reports false here; use
IsMixedPhaseActionStateto detect it.
NodeCount(BakedBehaviorArtifact artifact)
Section titled “NodeCount(BakedBehaviorArtifact artifact)”public static int NodeCount(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1935-1938
Count of total baked nodes .
ResolveActionPhase(BehaviorSourceAst ast, string actionId)
Section titled “ResolveActionPhase(BehaviorSourceAst ast, string actionId)”public static string ResolveActionPhase(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string actionId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1143-1147
Resolve one action’s effective lifecycle group. An omitted or unrecognized phase projects into Active Update without rewriting the authored source.
ResolveVisibleNodeIndex(BakedBehaviorArtifact artifact, int bakedIndex)
Section titled “ResolveVisibleNodeIndex(BakedBehaviorArtifact artifact, int bakedIndex)”public static int ResolveVisibleNodeIndex(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, int bakedIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1714-1761
Resolve a baked node index to the graph node that represents it visually. Decorator nodes are attached pills, so their visible node is the first non-decorator descendant.
StateMachineTransitionEdgeGuid(BakedBehaviorArtifact artifact, int transitionRow)
Section titled “StateMachineTransitionEdgeGuid(BakedBehaviorArtifact artifact, int transitionRow)”public static System.Guid StateMachineTransitionEdgeGuid(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, int transitionRow)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1700-1707
Deterministic edge identity for one baked transition row, so the window can line up pills and edge treatments with the artifact’s transition table across rebuilds.
TryResolveTransitionEndpoints(BehaviorSourceAst ast, string transitionId, out string sourceStateId, out string targetStateId)
Section titled “TryResolveTransitionEndpoints(BehaviorSourceAst ast, string transitionId, out string sourceStateId, out string targetStateId)”public static bool TryResolveTransitionEndpoints(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string transitionId, out string sourceStateId, out string targetStateId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeGraphAdapter.cs:1024-1053
Resolve a transition’s source and destination state ids.
BehaviorTreeInsertionKind
Section titled “BehaviorTreeInsertionKind”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeInsertionKindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:22-32
Underlying type: int
Identifies the structural insertion site selected on the production canvas.
Responsibilities:
- Distinguish root, append-child, and add-after authoring requests.
Does NOT:
- Mutate a behavior source document or validate runtime semantics.
Members
Section titled “Members”Between
Section titled “Between”Between = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:31
Adds a sibling immediately after an existing child.
Root = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:25
Creates the first behavior node.
Under = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:28
Appends a child under an existing node.
BehaviorTreeInsertionPopover
Section titled “BehaviorTreeInsertionPopover”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeInsertionPopoverSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:92-1030
Searchable contextual node-type picker used by root, child, and edge controls.
Responsibilities:
- Render the production node choices, descriptions, grouping, and copy.
- Explain disabled structural choices and preserve deterministic keyboard selection.
- Use viewport-constrained anchored placement for bottom and right edge cases.
Does NOT:
- Change the source document or invent node types the document model does not define.
Members
Section titled “Members”ActiveAnchor
Section titled “ActiveAnchor”public UnityEngine.UIElements.VisualElement ActiveAnchor { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:262
Gets the anchor of the current or most recent open, so a follow-up picker in a chained creation flow (the component-acquisition second pick) opens at the same place the node-type picker occupied.
InsertionRequested
Section titled “InsertionRequested”public event System.Action<BitQuirky.Behavior.Editor.BehaviorTreeInsertionRequest> InsertionRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:255
Raised after an enabled node type is activated.
RepeatPolicyPreviewChanged
Section titled “RepeatPolicyPreviewChanged”public event System.Action<string> RepeatPolicyPreviewChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:265
Raised when the Repeat preview policy changes without inserting a node.
BehaviorTreeInsertionPopover()
Section titled “BehaviorTreeInsertionPopover()”public BehaviorTreeInsertionPopover()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:271-311
Creates the production insertion picker.
Close()
Section titled “Close()”public void Close()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:372-380
Closes the picker without changing the document.
OpenBetween(VisualElement panelRoot, VisualElement anchor, string parentId, string parentLabel, string childId, string childLabel, int childIndex)
Section titled “OpenBetween(VisualElement panelRoot, VisualElement anchor, string parentId, string parentLabel, string childId, string childLabel, int childIndex)”public void OpenBetween(UnityEngine.UIElements.VisualElement panelRoot, UnityEngine.UIElements.VisualElement anchor, string parentId, string parentLabel, string childId, string childLabel, int childIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:350-369
Opens the picker on an existing parent-child edge.
OpenRoot(VisualElement panelRoot, VisualElement anchor)
Section titled “OpenRoot(VisualElement panelRoot, VisualElement anchor)”public void OpenRoot(UnityEngine.UIElements.VisualElement panelRoot, UnityEngine.UIElements.VisualElement anchor)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:314-326
Opens the picker for the first behavior node.
OpenUnder(VisualElement panelRoot, VisualElement anchor, string parentId, string parentLabel, int childIndex, bool parentCanOwnChild)
Section titled “OpenUnder(VisualElement panelRoot, VisualElement anchor, string parentId, string parentLabel, int childIndex, bool parentCanOwnChild)”public void OpenUnder(UnityEngine.UIElements.VisualElement panelRoot, UnityEngine.UIElements.VisualElement anchor, string parentId, string parentLabel, int childIndex = 0, bool parentCanOwnChild = true)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:329-347
Opens the picker to append a child under an existing node.
BehaviorTreeInsertionRequest
Section titled “BehaviorTreeInsertionRequest”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeInsertionRequestSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:43-79
Immutable insertion request raised byBehaviorTreeInsertionPopover.
Responsibilities:
- Carry the selected node token and exact structural insertion coordinates.
Does NOT:
- Retain visual elements or execute an editing command.
Members
Section titled “Members”ChildId
Section titled “ChildId”public string ChildId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:72
Gets the existing child id for add-after requests.
ChildIndex
Section titled “ChildIndex”public int ChildIndex { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:75
Gets the ordered child position.
public BitQuirky.Behavior.Editor.BehaviorTreeInsertionKind Kind { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:63
Gets the structural insertion kind.
NodeToken
Section titled “NodeToken”public string NodeToken { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:66
Gets the selected node-type token.
ParentId
Section titled “ParentId”public string ParentId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:69
Gets the parent node id, when present.
RepeatPolicyToken
Section titled “RepeatPolicyToken”public string RepeatPolicyToken { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:78
Gets the selected Repeat policy, when the requested node is Repeat.
BehaviorTreeInsertionRequest(BehaviorTreeInsertionKind kind, string nodeToken, string parentId, string childId, int childIndex, string repeatPolicyToken)
Section titled “BehaviorTreeInsertionRequest(BehaviorTreeInsertionKind kind, string nodeToken, string parentId, string childId, int childIndex, string repeatPolicyToken)”public BehaviorTreeInsertionRequest(BitQuirky.Behavior.Editor.BehaviorTreeInsertionKind kind, string nodeToken, string parentId, string childId, int childIndex, string repeatPolicyToken = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:46-60
Creates an immutable insertion request.
BehaviorTreeInspectorSection
Section titled “BehaviorTreeInspectorSection”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeInspectorSectionSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:20-54
Underlying type: int
The stable public identifiers for the right-rail inspector sections. Both the inspector composition code and the inspector state (collapsed/expanded flags) key off this enum.
Responsibilities:
- Enumerate the canonical section list so the inspector renders them in a stable order regardless of which Phase task lands the body content.
Does NOT:
- Carry the body content; that lives in the section’s InspectorSection composition code.
Members
Section titled “Members”Blackboard
Section titled “Blackboard”Blackboard = 3Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:32
The “Blackboard values” section: the bound graph’s blackboard variables and their current values.
EntityBinding
Section titled “EntityBinding”EntityBinding = 6Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:41
The “Entity binding” section: which entity or follower the graph is attached to, and whether it is still alive.
Evaluation
Section titled “Evaluation”Evaluation = 8Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:47
The “Evaluation” section: feedback for pending runtime edits and saved-graph receipts.
LiveValues
Section titled “LiveValues”LiveValues = 10Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:53
The “Live values” section: the selected running instance’s own graph-held Blackboard and Task values .
MemberBinding
Section titled “MemberBinding”MemberBinding = 7Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:44
The “Member binding” section: the selected node’s member binding and its live facts.
PendingRequests
Section titled “PendingRequests”PendingRequests = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:26
The “Pending requests” section: external service calls the graph is still waiting on.
RecentTransitionsEvents
Section titled “RecentTransitionsEvents”RecentTransitionsEvents = 5Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:38
The “Recent transitions / events” section: the recent event and transition log.
RuntimeStatus
Section titled “RuntimeStatus”RuntimeStatus = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:23
The “Graph runtime status” section: tick, frame, and overall run state of the bound graph.
SelectedNodeDetails
Section titled “SelectedNodeDetails”SelectedNodeDetails = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:29
The “Selected node details” section: per-node facts for the current canvas selection.
UtilityBranches
Section titled “UtilityBranches”UtilityBranches = 9Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:50
The “Utility scores” section: a selected live agent’s evaluated Utility Selector branch scores and the branch each selector last chose.
WatchedValues
Section titled “WatchedValues”WatchedValues = 4Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:35
The “Watched values” section: values the author pinned for continuous observation.
BehaviorTreeInspectorState
Section titled “BehaviorTreeInspectorState”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeInspectorStateSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorControlState.cs:192-214
Retains inspector search, owner filtering, pinned rows and section collapse state.
Members
Section titled “Members”BlackboardSearchTerm
Section titled “BlackboardSearchTerm”public string BlackboardSearchTerm { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorControlState.cs:197
Filter text retained for the inspector blackboard search field.
OwnerFilter
Section titled “OwnerFilter”public string OwnerFilter { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorControlState.cs:199
Owner scope the inspector blackboard rows are filtered by.
PinnedRows
Section titled “PinnedRows”public System.Collections.Generic.HashSet<string> PinnedRows { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorControlState.cs:201
Row keys the author explicitly pinned to the top of the list.
IsCollapsed(BehaviorTreeInspectorSection section)
Section titled “IsCollapsed(BehaviorTreeInspectorSection section)”public bool IsCollapsed(BitQuirky.Behavior.Editor.BehaviorTreeInspectorSection section)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorControlState.cs:204-207
Whether the given inspector section is currently collapsed. Sections default to expanded.
SetCollapsed(BehaviorTreeInspectorSection section, bool collapsed)
Section titled “SetCollapsed(BehaviorTreeInspectorSection section, bool collapsed)”public void SetCollapsed(BitQuirky.Behavior.Editor.BehaviorTreeInspectorSection section, bool collapsed)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorControlState.cs:210-213
Records the collapse state of an inspector section so it survives a retained refresh.
BehaviorTreeIssuesPopover
Section titled “BehaviorTreeIssuesPopover”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeIssuesPopoverSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeIssuesPopover.cs:26-122
The toolbar verdict chip’s issues dropdown: the shared graph-library SectionListPopovercarrying the Behavior Tree Editor’s issue rows, each with its fix guidance and a navigation action .
Responsibilities:
- MapBehaviorEditorIssuerows onto the shared control’s row model, in the supplied order, under their domain section headings.
- RaiseOnIssueActivatedwhen a row is activated, so the editor window can select the node, focus the variable, or open the rail that fixes it.
Does NOT:
- Render row chrome or manage anchoring and dismissal; the shared control owns both.
- Collect issues or navigate; the editor window owns both.
Members
Section titled “Members”IsOpen
Section titled “IsOpen”public bool IsOpen { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeIssuesPopover.cs:70
Gets whether the popover is currently open.
OnIssueActivated
Section titled “OnIssueActivated”public event System.Action<BitQuirky.Behavior.Editor.BehaviorEditorIssue> OnIssueActivatedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeIssuesPopover.cs:39-43
Raised when the user activates an issue row; the popover then closes.
BehaviorTreeIssuesPopover()
Section titled “BehaviorTreeIssuesPopover()”public BehaviorTreeIssuesPopover()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeIssuesPopover.cs:54-63
Builds the closed popover with the behavior editor style sheets attached and the all-clear reading as its empty text. Rows arrive later, when the popover is opened with a set of issues.
Close()
Section titled “Close()”public void Close()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeIssuesPopover.cs:106-109
Dismisses the issues popover. Safe to call when nothing is open.
Open(VisualElement panelRoot, VisualElement anchor, IReadOnlyList<BehaviorEditorIssue> issues)
Section titled “Open(VisualElement panelRoot, VisualElement anchor, IReadOnlyList<BehaviorEditorIssue> issues)”public void Open(UnityEngine.UIElements.VisualElement panelRoot, UnityEngine.UIElements.VisualElement anchor, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorEditorIssue> issues)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeIssuesPopover.cs:77-103
Open the popover anchored underanchor(the clicked verdict chip),
listingissuesgrouped by domain. An empty list states the
all-clear reading instead of rows.
BehaviorTreeNodeFamilyMap
Section titled “BehaviorTreeNodeFamilyMap”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeNodeFamilyMapSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:111-420
MapsBakedNodeKindvalues to the shared NodeFamilyTreatmentthe editor applies to each rendered node card (..).
Responsibilities:
- Lookup-only: hand back the family-modifier class + silhouette class + accent token + glyph key for any baked kind.
- Stay BT-specific. The graph library never imports this map; only the BT editor window consumes it .
Does NOT:
- Touch rendering. The map is data.
- Encode runtime state (active, vetoed, etc.). Those live on the consumer’s per-tick overlay path.
Remarks
Round Trip: do NOT import this map. Round Trip implements its own family map using the same modifier-class / accent-token vocabulary the graph library declares.
Members
Section titled “Members”IsDecorator(BakedNodeKind kind)
Section titled “IsDecorator(BakedNodeKind kind)”public static bool IsDecorator(BitQuirky.Behavior.Baked.BakedNodeKind kind)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:411-417
True if the given baked kind renders as a compact dashed decorator pill rather than a full card . Convenience overResolvefor call sites that only need the boolean.
Resolve(BakedNodeKind kind)
Section titled “Resolve(BakedNodeKind kind)”public static BitQuirky.Behavior.Editor.NodeFamilyTreatment Resolve(BitQuirky.Behavior.Baked.BakedNodeKind kind)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:201-204
Resolve a baked node kind to its visual family treatment. Unknown / unsupported kinds use the action family so the canvas never renders a chromeless card.
Resolve(BakedNodeKind kind, bool isArtifactRoot)
Section titled “Resolve(BakedNodeKind kind, bool isArtifactRoot)”public static BitQuirky.Behavior.Editor.NodeFamilyTreatment Resolve(BitQuirky.Behavior.Baked.BakedNodeKind kind, bool isArtifactRoot)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:215-403
Resolve a baked node kind to its visual family treatment, optionally treating the artifact’s behavior-tree root as the root card family even when its executable kind is a selector, sequence, or another normal behavior-tree node. A Hosted State Machine node keeps its own state-machine family at the root: when it is the whole tree, which machine runs is the identity the card states, and Static draws the same card there.
BehaviorTreeNodePalette
Section titled “BehaviorTreeNodePalette”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeNodePaletteSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:19-170
Inherits: VisualElement
Contextual empty-tree action for starting Static authoring.
Responsibilities:
- Expose the exact empty-tree root action the editor offers.
Does NOT:
- Remain visible after a root exists or render the insertion picker.
Members
Section titled “Members”NodeRequested
Section titled “NodeRequested”public event System.Action<string> NodeRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:93
Raised with a stable palette token when the developer requests a node.
RootRequested
Section titled “RootRequested”public event System.Action RootRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:96
Raised when the empty-tree root action is activated.
BlackboardConditionToken
Section titled “BlackboardConditionToken”public const string BlackboardConditionToken = "blackboard condition"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:56
Palette request token for a blackboard comparison condition.
ComponentAcquisitionToken
Section titled “ComponentAcquisitionToken”public const string ComponentAcquisitionToken = "component"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:72
Palette request token for the component-acquisition creation shortcut. The row creates an ordinary method node that arrives already closed over the chosen component; it is not a seventh member operation kind.
ConditionalToken
Section titled “ConditionalToken”public const string ConditionalToken = "conditional"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:38
Palette request token for a conditional decorator.
ImmediateActionToken
Section titled “ImmediateActionToken”public const string ImmediateActionToken = "immediate action"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:81
Compatibility request token for a contained immediate action.
InverterToken
Section titled “InverterToken”public const string InverterToken = "inverter"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:50
Palette request token for a result-inverting decorator.
MoveToToken
Section titled “MoveToToken”public const string MoveToToken = "move to"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:65
Palette request token for the generic movement action.
ParallelToken
Section titled “ParallelToken”public const string ParallelToken = "parallel"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:47
Palette request token for a logical parallel composite.
ProbabilitySelectorToken
Section titled “ProbabilitySelectorToken”public const string ProbabilitySelectorToken = "probability selector"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:84
Compatibility request token for the Probability Selector composite.
RepeatForeverToken
Section titled “RepeatForeverToken”public const string RepeatForeverToken = "repeat"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:35
Compatibility alias for the configurable Repeat request token.
RepeatToken
Section titled “RepeatToken”public const string RepeatToken = "repeat"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:32
Palette request token for a configurable Repeat decorator.
SelectorToken
Section titled “SelectorToken”public const string SelectorToken = "selector"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:44
Palette request token for an ordered fallback composite.
SequenceToken
Section titled “SequenceToken”public const string SequenceToken = "sequence"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:41
Palette request token for an ordered sequence composite.
StateMachineHostToken
Section titled “StateMachineHostToken”public const string StateMachineHostToken = "state machine host"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:62
Palette request token for hosting a separately authored State Machine.
StateToken
Section titled “StateToken”public const string StateToken = "state"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:75
Compatibility request token for a State Machine state.
SubgraphToken
Section titled “SubgraphToken”public const string SubgraphToken = "subgraph"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:59
Palette request token for another behavior graph.
TimeLimitToken
Section titled “TimeLimitToken”public const string TimeLimitToken = "time limit"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:53
Palette request token for a deadline decorator.
TransitionToken
Section titled “TransitionToken”public const string TransitionToken = "transition"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:78
Compatibility request token for a conditioned transition.
UtilitySelectorToken
Section titled “UtilitySelectorToken”public const string UtilitySelectorToken = "utility selector"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:90
Request token and display wording for the Utility Selector.
BehaviorTreeNodePalette()
Section titled “BehaviorTreeNodePalette()”public BehaviorTreeNodePalette()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:99-138
Creates the contextual empty-tree root action.
RequestNode(string token)
Section titled “RequestNode(string token)”public void RequestNode(string token)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:165-168
Raises the retained token request event for compatibility with existing hosts.
SetAuthoringContext(string validationProfile, bool isEmpty, bool stateChartDocument)
Section titled “SetAuthoringContext(string validationProfile, bool isEmpty, bool stateChartDocument)”public void SetAuthoringContext(string validationProfile, bool isEmpty, bool stateChartDocument = false)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:144-152
Selects whether the Behavior Tree document is empty. State Machine first use is rendered by its own dedicated surface.
BehaviorTreeNodeParameterEditor
Section titled “BehaviorTreeNodeParameterEditor”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeNodeParameterEditorSource declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:33-5775
Inherits: VisualElement
Descriptor-backed node parameter form for authored Static controls and read-only Live configuration.
Responsibilities:
- Render typed controls in descriptor order and route every authored commit through the session.
- Present saved built-in configuration and selected runtime outcomes in Live without exposing mutation controls.
Does NOT:
- Hold authoritative values or mutate an AST directly.
Members
Section titled “Members”SiblingReorderCommandFactory
Section titled “SiblingReorderCommandFactory”public System.Func<string, string, int, BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.IBehaviorTreeEditCommand> SiblingReorderCommandFactory { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:140-141
Supplies the command a rail-driven sibling reorder executes, given the moved child id, its parent id, and the target index. The canvas owner installs this so a reorder also rotates the affected cards’ placements: left-to-right reading is the only execution-order surface, so the picture must follow the order. Unset, a reorder falls back to the bare structural command.
TransitionVariablePickerRequested
Section titled “TransitionVariablePickerRequested”public event System.Action<UnityEngine.UIElements.VisualElement, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate>, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity, System.Action<string>> TransitionVariablePickerRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:107-111
Raised when a transition predicate requests the shared typed blackboard picker. The host owns popover placement; the supplied commit performs the one undoable choice.
BehaviorTreeNodeParameterEditor(NodeAuthoringRegistry registry)
Section titled “BehaviorTreeNodeParameterEditor(NodeAuthoringRegistry registry)”public BehaviorTreeNodeParameterEditor(BitQuirky.Behavior.Nodes.NodeAuthoringRegistry registry)Source declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:126-131
Creates a parameter editor backed by an operation-local node registry.
Bind(BehaviorSourceNode node, BehaviorTreeEditingSession session, Action<VisualElement> addChildRequested, bool conditionOnly)
Section titled “Bind(BehaviorSourceNode node, BehaviorTreeEditingSession session, Action<VisualElement> addChildRequested, bool conditionOnly)”public void Bind(BitQuirky.Behavior.Authoring.BehaviorSourceNode node, BitQuirky.Behavior.Editor.BehaviorTreeEditingSession session, System.Action<UnityEngine.UIElements.VisualElement> addChildRequested = null, bool conditionOnly = false)Source declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:154-207
Rebuilds the form fornodeand routes edits through
session.
BindRandomSelectorReadOnly(BehaviorSourceNode node, BehaviorSourceAst ast, bool hasLiveState, in BehaviorRandomSelectorLiveState liveState)
Section titled “BindRandomSelectorReadOnly(BehaviorSourceNode node, BehaviorSourceAst ast, bool hasLiveState, in BehaviorRandomSelectorLiveState liveState)”public void BindRandomSelectorReadOnly(BitQuirky.Behavior.Authoring.BehaviorSourceNode node, BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, bool hasLiveState, in BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveState liveState)Source declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:2163-2187
Rebuilds a read-only Random Selector form from the Live presentation source and the runtime outcome owned by that exact selector.
BindReadOnly(BehaviorSourceNode node, BehaviorSourceAst ast)
Section titled “BindReadOnly(BehaviorSourceNode node, BehaviorSourceAst ast)”public void BindReadOnly(BitQuirky.Behavior.Authoring.BehaviorSourceNode node, BitQuirky.Behavior.Authoring.BehaviorSourceAst ast)Source declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:215-245
Projects saved descriptor-backed controls without installing mutation callbacks. Conditional decorators additionally expose their first authored read as the condition variable. Missing authored variables remain visible so the source failure is not disguised as a different value.
BindRepeatReadOnly(BehaviorSourceNode node, int currentRun, string lastChildResult)
Section titled “BindRepeatReadOnly(BehaviorSourceNode node, int currentRun, string lastChildResult)”public void BindRepeatReadOnly(BitQuirky.Behavior.Authoring.BehaviorSourceNode node, int currentRun, string lastChildResult)Source declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:973-980
Preserves the original Live Repeat binding contract, which assumes the selected decorator is running when its retained execution status is not supplied. With no source to read, the child row says only “child”.
BindRepeatReadOnly(BehaviorSourceNode node, int currentRun, string lastChildResult, BehaviorNodeExecutionStatus executionStatus)
Section titled “BindRepeatReadOnly(BehaviorSourceNode node, int currentRun, string lastChildResult, BehaviorNodeExecutionStatus executionStatus)”public void BindRepeatReadOnly(BitQuirky.Behavior.Authoring.BehaviorSourceNode node, int currentRun, string lastChildResult, BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus executionStatus)Source declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:987-996
Projects one selected Live Repeat’s retained status and child progress without offering authoring actions. The decorator status is independent of its child’s result. With no source to read, the child row says only “child”.
BindStateMachineCandidateEligibility(string referenceNodeId, BehaviorSourceNode candidate, BehaviorTreeEditingSession session)
Section titled “BindStateMachineCandidateEligibility(string referenceNodeId, BehaviorSourceNode candidate, BehaviorTreeEditingSession session)”public void BindStateMachineCandidateEligibility(string referenceNodeId, BitQuirky.Behavior.Authoring.BehaviorSourceNode candidate, BitQuirky.Behavior.Editor.BehaviorTreeEditingSession session)Source declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:837-862
Reuses the transition All/Any predicate controls for one referenced-machine candidate’s own Eligibility edge. The reference-specific command factory is the only difference; typed operands, operators, literal editors, pickers, ordering, and invalid retention remain the shared implementation.
BindStateMachineCandidateEligibilityReadOnly(BehaviorSourceNode candidate, BehaviorSourceAst ast, BehaviorSourceTransitionConditionGroup group)
Section titled “BindStateMachineCandidateEligibilityReadOnly(BehaviorSourceNode candidate, BehaviorSourceAst ast, BehaviorSourceTransitionConditionGroup group)”public void BindStateMachineCandidateEligibilityReadOnly(BitQuirky.Behavior.Authoring.BehaviorSourceNode candidate, BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, BitQuirky.Behavior.Authoring.BehaviorSourceTransitionConditionGroup group)Source declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:869-966
Projects the existing typed All/Any predicate controls from a Live source AST without an editing session. Saved invalid operands remain visible, while every control is read-only and no callback can mutate source.
DescribeRepeatPill(string policyToken, string countRaw)
Section titled “DescribeRepeatPill(string policyToken, string countRaw)”public static string DescribeRepeatPill(string policyToken, string countRaw)Source declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:1042-1077
Returns the compact policy phrase used by Repeat decorator pills.
DescribeRepeatPill(string policyToken, string countRaw, bool stopOnFailure)
Section titled “DescribeRepeatPill(string policyToken, string countRaw, bool stopOnFailure)”public static string DescribeRepeatPill(string policyToken, string countRaw, bool stopOnFailure)Source declaration: Packages/io.bitquirky.behavior/Editor/Member/BehaviorTreeNodeParameterEditor.cs:1032-1039
Returns the compact policy phrase used by Repeat decorator pills, naming the optional failure stop after the policy when it is on.
BehaviorTreeNodeSearchPopover
Section titled “BehaviorTreeNodeSearchPopover”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeNodeSearchPopoverSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:18-460
Dropdown results for the Behavior Tree Editor’s persistent toolbar search. Responsibilities:
- Filter current-document candidates and own selection, scrolling, and popover lifetime. Does NOT:
- Own the toolbar input, bake a document, or move the graph viewport.
Members
Section titled “Members”IsOpen
Section titled “IsOpen”public bool IsOpen { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:50
Whether the results dropdown is currently attached to an editor panel.
OnNodePicked
Section titled “OnNodePicked”public event System.Action<System.Guid> OnNodePickedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:43-47
Raised with the current graph view identity of the activated result.
BehaviorTreeNodeSearchPopover(SearchField search)
Section titled “BehaviorTreeNodeSearchPopover(SearchField search)”public BehaviorTreeNodeSearchPopover(BitQuirky.Graph.GraphView.Controls.SearchField search)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:56-89
Creates a result dropdown driven by the toolbar-owned search field. The input remains where the toolbar placed it and keeps keyboard focus while results are open.
Close()
Section titled “Close()”public void Close()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:150-153
Dismisses results without clearing or moving focus out of the toolbar input.
Open(VisualElement panelRoot, VisualElement anchor, IReadOnlyList<BehaviorTreeNodeSearchPopover.Candidate> candidates)
Section titled “Open(VisualElement panelRoot, VisualElement anchor, IReadOnlyList<BehaviorTreeNodeSearchPopover.Candidate> candidates)”public void Open(UnityEngine.UIElements.VisualElement panelRoot, UnityEngine.UIElements.VisualElement anchor, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeNodeSearchPopover.Candidate> candidates)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:119-147
Supplies a current candidate snapshot and opens non-empty query results below the external input. Blank queries retain input focus without showing a dropdown.
BehaviorTreePendingRequestRow
Section titled “BehaviorTreePendingRequestRow”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreePendingRequestRowSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreePendingRequestRow.cs:23-46
One row’s worth of pre-rendered pending-request fields the inspector composition copies straight into a CompactRow + Chip pair. Plain value type, no events, no behavior.
Responsibilities:
- Carry the four strings the inspector renders: a short kind chip label, a left-side label, a right-side value, and the hover tooltip containing the full payload .
Does NOT:
- Hold a reference to the underlying snapshot: the inspector captures the snapshot itself for the click handler so the row shape stays trivially copyable.
- Bake any BT-specific semantic vocabulary; the project-side
adapter under
BehaviorTreePendingRequestSemanticsowns the human-readable kind / payload strings.
Members
Section titled “Members”KindText
Section titled “KindText”public string KindText { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreePendingRequestRow.cs:39
Short kind tag shown at the head of the row.
LabelText
Section titled “LabelText”public string LabelText { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreePendingRequestRow.cs:41
Author-facing name of the pending request.
Tooltip
Section titled “Tooltip”public string Tooltip { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreePendingRequestRow.cs:45
Full text shown when hovering the row.
ValueText
Section titled “ValueText”public string ValueText { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreePendingRequestRow.cs:43
Formatted current value for the request.
BehaviorTreePendingRequestRow(string kindText, string labelText, string valueText, string tooltip)
Section titled “BehaviorTreePendingRequestRow(string kindText, string labelText, string valueText, string tooltip)”public BehaviorTreePendingRequestRow(string kindText, string labelText, string valueText, string tooltip)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreePendingRequestRow.cs:30-36
Records the four pre-rendered strings the inspector row draws. Null values are stored as the empty string, so the row renders without null checks.
BehaviorTreeStateMachineInspector
Section titled “BehaviorTreeStateMachineInspector”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspectorSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:51-3943
Inherits: VisualElement
Right-rail inspector composition for state machine documents. Replaces the behavior tree section set with the state machine composition: an identity header (asset chip + name + counts), a Machine section (entry state, counts), a States section (one row per state + an add affordance), the selection’s own section, and a Validation section whose rows belong to the rail’s current scope (the selection, or the whole machine on the home) and which is absent while healthy. In Live mode a Runtime section is appended beneath that cluster. The graph-wide Blackboard is the sharedBlackboardRailPanel band docked beneath the scroll, exactly as the Behavior Tree rail docks it.
Responsibilities:
- Render the machine (nothing-selected) composition and the selected state / action / transition compositions from snapshots the window pushes.
- Host the selected transition’s typed condition editor while the window retains edit ownership.
- Raise intent events (dropdowns, navigation, add state, rename, entry toggle, blackboard recoveries) so the window can run the matching edit commands.
Does NOT:
- Read the AST, the artifact, or the runtime binding directly; every value arrives through the update methods below.
- Execute edits; the window owns the editing session.
Members
Section titled “Members”BlackboardAssetFileName
Section titled “BlackboardAssetFileName”public string BlackboardAssetFileName { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1149-1153
Gets or sets the asset file name the band’s asset line and every fault’s context line name.
BlackboardFaults
Section titled “BlackboardFaults”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BlackboardFault> BlackboardFaults { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1160
Gets the blackboard faults the band’s Graph validation card states.
BlackboardPanel
Section titled “BlackboardPanel”public BitQuirky.Behavior.Editor.BehaviorTreeBlackboardPanel BlackboardPanel { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1143
Gets the shared Blackboard authoring and live-debugging surface.
HasLiveValueRows
Section titled “HasLiveValueRows”public bool HasLiveValueRows { get; private set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1192
Gets whether the Live values section currently shows at least one graph-held State or Blackboard row ( Phase 6).
UncarriedBindings
Section titled “UncarriedBindings”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding> UncarriedBindings { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1156-1157
Gets the bindings the machine’s current Runtime path cannot carry.
OnActionAnnouncement
Section titled “OnActionAnnouncement”public event System.Action<string> OnActionAnnouncementSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:813
A keyboard interaction reached a boundary the author should hear about.
OnActionBehaviorDropdown
Section titled “OnActionBehaviorDropdown”public event System.Action<string, UnityEngine.UIElements.VisualElement> OnActionBehaviorDropdownSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:778
The selected action’s behavior dropdown was clicked.
OnActionGroupSettingChanged
Section titled “OnActionGroupSettingChanged”public event System.Action<string, string, string> OnActionGroupSettingChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:800
One lifecycle-group execution or lifetime setting changed.
OnActionKeyboardReorder
Section titled “OnActionKeyboardReorder”public event System.Action<string, int> OnActionKeyboardReorderSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:794
An action row was moved one position inside its own group by Alt+Up or Alt+Down. Separate fromOnActionReorderbecause the keyboard route must move the row without moving selection.
OnActionPhaseChanged
Section titled “OnActionPhaseChanged”public event System.Action<string, string> OnActionPhaseChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:797
The selected action was moved into another lifecycle group.
OnActionRemove
Section titled “OnActionRemove”public event System.Action<string> OnActionRemoveSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:781
An action row remove affordance was invoked.
OnActionReorder
Section titled “OnActionReorder”public event System.Action<string, int> OnActionReorderSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:784
An action row was moved to an exact position inside its own group.
OnAddStateClicked
Section titled “OnAddStateClicked”public event System.Action OnAddStateClickedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:760
The States section header “+” was clicked.
OnBlackboardRecoveryRequested
Section titled “OnBlackboardRecoveryRequested”public event System.Action<BitQuirky.Behavior.Editor.BlackboardFault, string> OnBlackboardRecoveryRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:826
Raised when a blackboard fault’s recovery is chosen in the band’s Graph validation card.
OnEntryStateDropdown
Section titled “OnEntryStateDropdown”public event System.Action<UnityEngine.UIElements.VisualElement> OnEntryStateDropdownSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:754
Entry-state dropdown opened from the Machine section.
OnEntryToggleClicked
Section titled “OnEntryToggleClicked”public event System.Action<string> OnEntryToggleClickedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:772
The selected state’s entry toggle was clicked.
OnGroupActionDropdown
Section titled “OnGroupActionDropdown”public event System.Action<string, string, UnityEngine.UIElements.VisualElement> OnGroupActionDropdownSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:775
A lifecycle group’s Add action affordance was invoked.
OnHostedLifetimeChanged
Section titled “OnHostedLifetimeChanged”public event System.Action<string, string> OnHostedLifetimeChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:850
The selected state’s hosted lifetime changed to Once or Repeat.
OnHostedResultEventChanged
Section titled “OnHostedResultEventChanged”public event System.Action<string, string, string> OnHostedResultEventChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:853
One hosted result event was exposed, renamed, or cleared.
OnHostedSourceChanged
Section titled “OnHostedSourceChanged”public event System.Action<string, bool> OnHostedSourceChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:835
The selected state’s Active Update source segment changed.
OnHostedTreeChooseRequested
Section titled “OnHostedTreeChooseRequested”public event System.Action<string, UnityEngine.UIElements.VisualElement> OnHostedTreeChooseRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:838
Choose tree or Change was invoked for the selected state.
OnHostedTreeClearRequested
Section titled “OnHostedTreeClearRequested”public event System.Action<string> OnHostedTreeClearRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:847
Clear was invoked on the selected state’s assigned hosted tree.
OnHostedTreeNewRequested
Section titled “OnHostedTreeNewRequested”public event System.Action<string> OnHostedTreeNewRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:841
New tree was invoked for the selected state.
OnHostedTreeOpenRequested
Section titled “OnHostedTreeOpenRequested”public event System.Action<string> OnHostedTreeOpenRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:844
Open was invoked on the selected state’s assigned hosted tree.
OnLegacyLifecycleUpgradeRequested
Section titled “OnLegacyLifecycleUpgradeRequested”public event System.Action<string> OnLegacyLifecycleUpgradeRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:816
The author accepted the explicit legacy lifecycle upgrade boundary.
OnLiveValueEditRequested
Section titled “OnLiveValueEditRequested”public event System.Action<BitQuirky.Behavior.Member.BehaviorLiveValueEditRequest> OnLiveValueEditRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:866
Raised when a writable Live values row – the selected State’s own
min_active_secondsor a writable Blackboard value – commits one exact-type
live edit request ( Phase 6).
OnMinActiveSecondsChanged
Section titled “OnMinActiveSecondsChanged”public event System.Func<string, float, bool> OnMinActiveSecondsChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:810
The selected State’smin_active_secondscommitted one accepted finite,
non-negative number of seconds. The handler returns whether it applied the edit; a
refused edit leaves the field stating the saved value.
OnNavigateToNode
Section titled “OnNavigateToNode”public event System.Action<string> OnNavigateToNodeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:820
A navigation row (owning state, from, to) was clicked.
OnRenameNode
Section titled “OnRenameNode”public event System.Action<string, string> OnRenameNodeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:763
The identity title committed a new name for the selected node.
OnRuntimePathChanged
Section titled “OnRuntimePathChanged”public event System.Action<BitQuirky.Behavior.Authoring.BehaviorSourceRuntimePath> OnRuntimePathChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:823
Raised when the machine’s graph-owned runtime path changes.
OnSemanticSettingChanged
Section titled “OnSemanticSettingChanged”public event System.Action<string, string, string> OnSemanticSettingChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:803
A state or transition’s canonical completion setting changed.
OnStateRowClicked
Section titled “OnStateRowClicked”public event System.Action<string> OnStateRowClickedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:757
State row clicked in the States section.
OnTransitionReorder
Section titled “OnTransitionReorder”public event System.Action<string, int> OnTransitionReorderSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:787
An outgoing transition was moved to its new evaluation order.
OnTransitionTriggerEventRequested
Section titled “OnTransitionTriggerEventRequested”public event System.Action<string, UnityEngine.UIElements.VisualElement> OnTransitionTriggerEventRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:859
The selected transition’s exposed-event picker was opened.
OnTransitionTriggerSourceChanged
Section titled “OnTransitionTriggerSourceChanged”public event System.Action<string, string> OnTransitionTriggerSourceChangedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:856
The selected transition’s Trigger source changed.
OnUncarriedBindingRecoveryRequested
Section titled “OnUncarriedBindingRecoveryRequested”public event System.Action<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding, string> OnUncarriedBindingRecoveryRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:832
Raised when an uncarried binding’s recovery is chosen in the band’s Graph validation card, with the exact report and the exact recovery label.
RenameRefusal
Section titled “RenameRefusal”public System.Func<string, string, string> RenameRefusalSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:769
Returns the reason a candidate name for a node is refused, or null to accept it; the window supplies the duplicate-state and source round-trip rules.
BehaviorTreeStateMachineInspector()
Section titled “BehaviorTreeStateMachineInspector()”public BehaviorTreeStateMachineInspector()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:877-1118
Builds the empty rail: style classes, the vertical scroll view, and every section shell. All values arrive later through the update methods, so a freshly constructed rail presents its empty state.
ClearLiveValueRefusals()
Section titled “ClearLiveValueRefusals()”public void ClearLiveValueRefusals()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1254-1257
Clears every Live value row’s transient refusal caption and invalid-entry mark because the inspected instance or Live document is about to change: a stale refusal must never be read as if it belonged to the newly attached instance. Never touches a row’s own value, override mark, or the instance’s accepted live edit.
ClearLiveValueRows()
Section titled “ClearLiveValueRows()”public void ClearLiveValueRows()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1208-1213
Clears the Live values rows and hides the section.
MarkLiveBlackboardValuesDetached()
Section titled “MarkLiveBlackboardValuesDetached()”public void MarkLiveBlackboardValuesDetached()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1183-1186
Clears the Live Blackboard value rows to the governed cleared reading when the attachment is lost, so the last numbers the gone instance held are not presented as a live reading. The next attachedUpdateBlackboardrestores them.
MarkLiveValuesDetached()
Section titled “MarkLiveValuesDetached()”public void MarkLiveValuesDetached()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1243-1246
Keeps the Live values rows in place but reads them as cleared once the attachment is lost, so a reattached instance restores the same rows; an edit already made stays with the instance that received it.
SetActionMemberEditor(VisualElement editor)
Section titled “SetActionMemberEditor(VisualElement editor)”public void SetActionMemberEditor(UnityEngine.UIElements.VisualElement editor)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1704-1720
Mounts the shared member binding inspector beneath a selected direct lifecycle member. The editor remains window-owned so its target, picker, parameter, and focus behavior is identical to a Behavior Tree member leaf.
SetLiveMode(bool isLive)
Section titled “SetLiveMode(bool isLive)”public void SetLiveMode(bool isLive)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1223-1228
Sets whether the inspector currently presents a Live attachment ( Phase 6,
C1/D1). MirrorsBehaviorTreeEditorInspector.SetLiveMode: the Live values
section is never shown outside Live, regardless of whatever row set a prior Live
attachment left behind, so the window cannot leave it visible – with editable,
silently no-op fields – after a Static toggle, a reopened saved source, or a
detach-to-placeholder on Play Mode exit.
SetRuntimeAttachmentState(bool attached, bool paused)
Section titled “SetRuntimeAttachmentState(bool attached, bool paused)”public void SetRuntimeAttachmentState(bool attached, bool paused)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1338-1382
Presents the current Live attachment state without changing authored machine data.
SetRuntimeVisible(bool visible)
Section titled “SetRuntimeVisible(bool visible)”public void SetRuntimeVisible(bool visible)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1330-1333
Show or hide the Live-only Runtime section.
SetSelectedStateRow(string stateId)
Section titled “SetSelectedStateRow(string stateId)”public void SetSelectedStateRow(string stateId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1519-1537
Highlight the States section row matching the selection.
SetStateMachineReferenceEditor(VisualElement editor)
Section titled “SetStateMachineReferenceEditor(VisualElement editor)”public void SetStateMachineReferenceEditor(UnityEngine.UIElements.VisualElement editor)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1723-1730
Hosts the existing canonical reference authoring surface without owning its document.
SetTransitionConditionEditor(VisualElement editor)
Section titled “SetTransitionConditionEditor(VisualElement editor)”public void SetTransitionConditionEditor(UnityEngine.UIElements.VisualElement editor)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1681-1697
Mounts the window-owned typed condition editor in the selected transition’s Trigger card. Passing null clears the host without creating a legacy condition surface.
ShowLiveValueRefusal(BehaviorLiveValueTarget target, BehaviorLiveValueRefusalReason reason)
Section titled “ShowLiveValueRefusal(BehaviorLiveValueTarget target, BehaviorLiveValueRefusalReason reason)”public void ShowLiveValueRefusal(BitQuirky.Behavior.Member.BehaviorLiveValueTarget target, BitQuirky.Behavior.Member.BehaviorLiveValueRefusalReason reason)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1263-1267
Shows the capability’s own stated refusal reason on the row that submitted the edit ( Phase 6). No-op if the row is no longer surfaced.
UpdateBlackboard(IReadOnlyList<BehaviorBlackboardFieldSnapshot> fields, bool isLive, bool allowStaticEdits, Func<string, string> defaultValueResolver, bool showStoredValuesWhenNotLive)
Section titled “UpdateBlackboard(IReadOnlyList<BehaviorBlackboardFieldSnapshot> fields, bool isLive, bool allowStaticEdits, Func<string, string> defaultValueResolver, bool showStoredValuesWhenNotLive)”public void UpdateBlackboard(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorBlackboardFieldSnapshot> fields, bool isLive, bool allowStaticEdits, System.Func<string, string> defaultValueResolver, bool showStoredValuesWhenNotLive = false)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1163-1176
Updates live or legacy baked blackboard fields in the shared panel.
UpdateBlackboardFaults(IReadOnlyList<BlackboardFault> faults)
Section titled “UpdateBlackboardFaults(IReadOnlyList<BlackboardFault> faults)”public void UpdateBlackboardFaults(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BlackboardFault> faults)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1289-1292
States every blackboard fault in the band’s Graph validation card, each with its recoveries. Graph-wide, so it never enters the selection’s Validation section.
UpdateBlackboardMemberBindings(BehaviorSourceDocument document, bool isLive, bool allowStaticEdits)
Section titled “UpdateBlackboardMemberBindings(BehaviorSourceDocument document, bool isLive, bool allowStaticEdits)”public void UpdateBlackboardMemberBindings(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, bool isLive, bool allowStaticEdits)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1277-1283
Updates declared variables and surfaced bindings from canonical source.
UpdateLiveValueRows(IReadOnlyList<BehaviorLiveValueRowSnapshot> rows)
Section titled “UpdateLiveValueRows(IReadOnlyList<BehaviorLiveValueRowSnapshot> rows)”public void UpdateLiveValueRows(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorLiveValueRowSnapshot> rows)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1200-1205
Shows the Live values section’s rows – the selected State’s own
min_active_secondsrow beside every writable graph-held Blackboard row – from
the current running instance’s snapshots ( Phase 6). Hidden when the
instance offers no row.
UpdateMachine(string assetName, int stateCount, int transitionCount, string entryStateName)
Section titled “UpdateMachine(string assetName, int stateCount, int transitionCount, string entryStateName)”public void UpdateMachine(string assetName, int stateCount, int transitionCount, string entryStateName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1304-1327
Push the machine identity + Machine section values.
UpdateMachineResult(BehaviorMachineResult result, bool finished, int suspensionDepth)
Section titled “UpdateMachineResult(BehaviorMachineResult result, bool finished, int suspensionDepth)”public void UpdateMachineResult(BitQuirky.Behavior.Execution.BehaviorMachineResult result, bool finished, int suspensionDepth)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1456-1463
Displays termination separately from a legitimate no-result Return.
UpdateRuntime(string activeState, string activeAction, string lastTransition, string cause)
Section titled “UpdateRuntime(string activeState, string activeAction, string lastTransition, string cause)”public void UpdateRuntime(string activeState, string activeAction, string lastTransition, string cause)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1395-1405
Push Live runtime values into the Runtime section.
UpdateRuntimeLifecycle(in BehaviorTreeStateMachineInspector.RuntimeLifecycleSnapshot lifecycle)
Section titled “UpdateRuntimeLifecycle(in BehaviorTreeStateMachineInspector.RuntimeLifecycleSnapshot lifecycle)”public void UpdateRuntimeLifecycle(in BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.RuntimeLifecycleSnapshot lifecycle)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1411-1453
Push the observed lifecycle group, Active Update pass and Exit handoff facts into the read-only Live Runtime card.
UpdateRuntimePath(BehaviorSourceRuntimePath path)
Section titled “UpdateRuntimePath(BehaviorSourceRuntimePath path)”public void UpdateRuntimePath(BitQuirky.Behavior.Authoring.BehaviorSourceRuntimePath path)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1385-1392
Updates the machine graph’s Runtime path without raising author intent.
UpdateSelection(BehaviorTreeStateMachineInspector.SelectionSnapshot selection)
Section titled “UpdateSelection(BehaviorTreeStateMachineInspector.SelectionSnapshot selection)”public void UpdateSelection(BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.SelectionSnapshot selection)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1540-1666
Compose the selected state / action / transition sections.
UpdateSharedNumericField(BehaviorSharedNumericFieldSnapshot? field, Func<float, bool> onValueEdited)
Section titled “UpdateSharedNumericField(BehaviorSharedNumericFieldSnapshot? field, Func<float, bool> onValueEdited)”public void UpdateSharedNumericField(BitQuirky.Behavior.Editor.BehaviorSharedNumericFieldSnapshot? field, System.Func<float, bool> onValueEdited)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1270-1274
Shows, hides, or updates the Live shared-numeric debug row and its edit-through callback.
UpdateStates(IReadOnlyList<BehaviorTreeStateMachineInspector.StateRow> rows)
Section titled “UpdateStates(IReadOnlyList<BehaviorTreeStateMachineInspector.StateRow> rows)”public void UpdateStates(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.StateRow> rows)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1466-1516
Rebuild the States section rows.
UpdateUncarriedBindings(IReadOnlyList<BehaviorUncarriedBinding> uncarried)
Section titled “UpdateUncarriedBindings(IReadOnlyList<BehaviorUncarriedBinding> uncarried)”public void UpdateUncarriedBindings(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding> uncarried)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1298-1301
States every binding the machine’s Runtime path cannot carry, each with the recoveries its exact shape offers.
UpdateValidation(IReadOnlyList<BehaviorTreeStateMachineInspector.ProblemRow> problems, bool showEmptyHint)
Section titled “UpdateValidation(IReadOnlyList<BehaviorTreeStateMachineInspector.ProblemRow> problems, bool showEmptyHint)”public void UpdateValidation(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ProblemRow> problems, bool showEmptyHint)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1739-1746
Rebuilds the Validation section with the findings that belong to the rail’s current
scope: the selection’s own while something is selected, the whole machine’s on the
home. Healthy reads quiet: with nothing to fix the section is absent, and the toolbar
verdict carries the machine count. The empty-selection hint
followsshowEmptyHint, never the findings.
BehaviorTreeStateMachineKind
Section titled “BehaviorTreeStateMachineKind”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeStateMachineKindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineKind.cs:28-72
Single decision point that classifies a document as a state machine (versus a behavior tree) for editor presentation.
Responsibilities:
- Detect state machine content from the Static source AST
(explicit
action_state_machinevalidation profile, an entry state node, or a transition node), independent of the validation profile name a game selected. - Detect state machine content from a baked artifact (an entry state baked node, or baked transitions).
- Treat a statechart root wrapper alone as behavior tree content: behavior trees legitimately root inside a statechart root plus active state wrapper without becoming a state machine document.
Does NOT:
- Decide per-node rendering; the graph adapter and the window read this once per document and branch on the result.
Members
Section titled “Members”IsStateMachine(BehaviorSourceAst ast)
Section titled “IsStateMachine(BehaviorSourceAst ast)”public static bool IsStateMachine(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineKind.cs:31-50
True when the Static source describes a state machine.
IsStateMachine(BakedBehaviorArtifact artifact)
Section titled “IsStateMachine(BakedBehaviorArtifact artifact)”public static bool IsStateMachine(BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineKind.cs:53-71
True when the baked artifact describes a state machine.
BehaviorTreeStaticBinding
Section titled “BehaviorTreeStaticBinding”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeStaticBindingSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:39-217
Implements: IBehaviorGraphDebuggerBinding, IDisposable
IBehaviorGraphDebuggerBindingimplementation used by Static documents in the redesigned editor: carries a freshly-baked artifact + display + viewport key so the new window’s canvas + status-bar surfaces can render the graph without a live follower attached. Owns the artifact and disposes it on editor quit / assembly reload.
Responsibilities:
- Wrap a baked artifact + display name + viewport key into a binding the editor consumes the same way it consumes Live bindings. Live runtime fields (instance, watched fields, pending externals) return empty.
- Take ownership of the artifact + any subgraph artifacts that
came back from the bake step, and dispose them when the document
closes (parallels the existing
OpenBehaviorGraphMenu.StaticReferenceBindingpattern).
Does NOT:
- Bake or parse the source itself. The opener performs the bake
via the project-layer
BehaviorBakeMenuRunnerand hands the result over. - Carry editing state. The document’s BehaviorTreeEditingSessionis the authoritative model for unsaved edits.
Members
Section titled “Members”Artifact
Section titled “Artifact”public BitQuirky.Behavior.Baked.BakedBehaviorArtifact Artifact { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:97
The baked artifact the Static view renders.
DisplayName
Section titled “DisplayName”public string DisplayName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:93
Name shown in the debugger follower chip for the bound asset.
FollowerId
Section titled “FollowerId”public int FollowerId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:91
Always -1: a Static binding follows no live runtime.
HighDetailRegistry
Section titled “HighDetailRegistry”public BitQuirky.Behavior.Diagnostics.BehaviorTraceHighDetailRegistry HighDetailRegistry { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:103
An empty registry: Static viewing records no high-detail traces.
ServiceBindings
Section titled “ServiceBindings”public BitQuirky.Behavior.Diagnostics.BehaviorTraceServiceBindings ServiceBindings { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:99
Always None: Static viewing resolves no services.
ViewportPersistenceKey
Section titled “ViewportPersistenceKey”public string ViewportPersistenceKey { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:95
Key the viewport pan and zoom is persisted under for this asset.
BehaviorTreeStaticBinding(string displayName, string viewportPersistenceKey, BakedBehaviorArtifact artifact, IEnumerable<BakedBehaviorArtifact> ownedSubgraphs)
Section titled “BehaviorTreeStaticBinding(string displayName, string viewportPersistenceKey, BakedBehaviorArtifact artifact, IEnumerable<BakedBehaviorArtifact> ownedSubgraphs)”public BehaviorTreeStaticBinding(string displayName, string viewportPersistenceKey, BitQuirky.Behavior.Baked.BakedBehaviorArtifact artifact, System.Collections.Generic.IEnumerable<BitQuirky.Behavior.Baked.BakedBehaviorArtifact> ownedSubgraphs = null)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:64-84
Adopts an already baked artifact, plus any subgraph artifacts this binding then owns and disposes, and builds the design-time blackboard rows from it. Asserts an artifact was supplied; an empty display name falls back to “(Static)”.
Dispose()
Section titled “Dispose()”public void Dispose()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:162-178
Releases the baked artifact and unhooks the editor lifecycle callbacks. Idempotent.
ReadBlackboardFields()
Section titled “ReadBlackboardFields()”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorBlackboardFieldSnapshot> ReadBlackboardFields()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:118-119
The authored blackboard fields projected from the baked artifact.
ReadPendingExternals()
Section titled “ReadPendingExternals()”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorPendingExternalSnapshot> ReadPendingExternals()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:122-123
Always empty: a Static binding has no runtime awaiting external results.
ReadWatchedFields()
Section titled “ReadWatchedFields()”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorWatchedFieldSnapshot> ReadWatchedFields()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:114-115
Always empty: watched values exist only while following a live runtime.
ReplaceArtifact(BakedBehaviorArtifact newArtifact, IEnumerable<BakedBehaviorArtifact> newSubgraphs)
Section titled “ReplaceArtifact(BakedBehaviorArtifact newArtifact, IEnumerable<BakedBehaviorArtifact> newSubgraphs)”public void ReplaceArtifact(BitQuirky.Behavior.Baked.BakedBehaviorArtifact newArtifact, System.Collections.Generic.IEnumerable<BitQuirky.Behavior.Baked.BakedBehaviorArtifact> newSubgraphs)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:135-155
Replace the bound artifact + owned subgraphs. The previous artifact and subgraphs are disposed. Used by the Static document’s “Reload” path after a save+bake completes ( / ).
TryGetInstance(out BehaviorRuntimeInstance instance)
Section titled “TryGetInstance(out BehaviorRuntimeInstance instance)”public bool TryGetInstance(out BitQuirky.Behavior.Execution.BehaviorRuntimeInstance instance)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:107-111
Always false: a Static binding has no runtime instance to hand out.
BehaviorTreeTransitionPill
Section titled “BehaviorTreeTransitionPill”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeTransitionPillSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeTransitionPill.cs:511-676
Inherits: VisualElement
Edge-riding state-machine transition pill. Shows a trigger-first summary with the current endpoint-derived or intentionally custom identity and non-default execution semantics.
Responsibilities:
- Keep the transition’s graph-readable summary on the edge rather than only in the rail.
- Render a missing required trigger with the amber dashed treatment and a fired transition with the blue FIRED suffix.
- Render the selected treatment: the pill border turns live-accent blue and a soft glow halo surrounds the pill.
- Surface a click so the host can select the transition.
Does NOT:
- Position itself; the window resolves placement against the rendered route and cards.
- Read or format the transition model directly; the host pushes the complete summary.
Members
Section titled “Members”Clicked
Section titled “Clicked”public event System.Action ClickedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeTransitionPill.cs:546
Raised when the pill is clicked.
FiredSuffix
Section titled “FiredSuffix”public const string FiredSuffix = "FIRED"Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeTransitionPill.cs:516
Suffix appended to a pill’s label while its transition is firing in the live session.
BehaviorTreeTransitionPill()
Section titled “BehaviorTreeTransitionPill()”public BehaviorTreeTransitionPill()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeTransitionPill.cs:553-611
Builds the clickable pill with its band, condition glyph, label, fired suffix, and the missing, selection, and fired frames. All frames start hidden; the summary and detail text arrive later.
SetFired(bool fired)
Section titled “SetFired(bool fired)”public void SetFired(bool fired)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeTransitionPill.cs:631-636
Toggle the blue last-fired presentation.
SetSelected(bool selected)
Section titled “SetSelected(bool selected)”public void SetSelected(bool selected)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeTransitionPill.cs:639-644
Toggle the blue selected treatment without widening the route annotation.
SetSummary(string summary, bool missingRequiredTrigger, string fullDetail)
Section titled “SetSummary(string summary, bool missingRequiredTrigger, string fullDetail)”public void SetSummary(string summary, bool missingRequiredTrigger, string fullDetail)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeTransitionPill.cs:617-628
Updates the concise graph-readable transition summary, trigger verdict, and complete detail shown by the tooltip; selection exposes the full inspector.
BehaviorTreeViewportState
Section titled “BehaviorTreeViewportState”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeViewportStateSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:27-92
Pan + zoom + lock state for the Behavior Tree Editor
canvas. Persisted toEditorPrefsvia the
per-binding key the Live binding exposes, or scoped to the
asset GUID for Static documents.
Responsibilities:
- Hold pan / zoom values the canvas reads each frame.
- Provide a single lock-pan-zoom flag the toolbar toggles .
- Serialize / deserialize against
EditorPrefswhen the document opens / closes.
Does NOT:
- Decide layout values (origin, sibling spacing, level spacing): those come from the layout strategy.
- Persist across domain reload by itself; the editor restoration
path re-reads
EditorPrefson the next open.
Members
Section titled “Members”IsLocked
Section titled “IsLocked”public bool IsLocked { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:47
True when user + refresh-driven pan/zoom is blocked.
public UnityEngine.Vector2 Pan { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:41
Pan offset in graph space.
PreferencesKeyPrefix
Section titled “PreferencesKeyPrefix”public string PreferencesKeyPrefix { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:50
Persistence key prefix the editor supplied at construction.
public float Zoom { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:44
Zoom factor (1.0 = 100%).
BehaviorTreeViewportState(string preferencesKeyPrefix)
Section titled “BehaviorTreeViewportState(string preferencesKeyPrefix)”public BehaviorTreeViewportState(string preferencesKeyPrefix)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:61-64
Starts at the default viewport, unlocked at 100% zoom, and records the EditorPrefs key prefix its values persist under. Pass the empty string, or null, for a viewport that is never persisted.
LoadFromEditorPrefs()
Section titled “LoadFromEditorPrefs()”public void LoadFromEditorPrefs()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:71-79
Load values from EditorPrefs (no-op if prefix empty).
SaveToEditorPrefs()
Section titled “SaveToEditorPrefs()”public void SaveToEditorPrefs()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:82-89
Save values to EditorPrefs (no-op if prefix empty).
BehaviorUtilityBranch
Section titled “BehaviorUtilityBranch”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorUtilityBranchSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorUtilityBranchModel.cs:20-46
One Utility Selector branch as the author reads it: the child it runs and its considered fields, chosen aggregation, and execution mode (research D-R2, D-R4).
Responsibilities:
- Carry the branch identity and its authored scoring configuration.
Does NOT:
- Mutate a document or compute a live runtime score.
Members
Section titled “Members”Aggregation
Section titled “Aggregation”public BitQuirky.Behavior.Authoring.BehaviorSourceUtilityAggregation? Aggregation { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorUtilityBranchModel.cs:42
Gets the authored aggregation, absent when the branch authors none.
ChildId
Section titled “ChildId”public string ChildId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorUtilityBranchModel.cs:36
Gets the branch child node id.
Considerations
Section titled “Considerations”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceUtilityConsideration> Considerations { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorUtilityBranchModel.cs:39
Gets the branch’s ordered considerations; empty when none are authored yet.
ExecutionMode
Section titled “ExecutionMode”public BitQuirky.Behavior.Authoring.BehaviorSourceUtilityExecutionMode ExecutionMode { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorUtilityBranchModel.cs:45
Gets the authored execution mode.
BehaviorUtilityBranch(string childId, IReadOnlyList<BehaviorSourceUtilityConsideration> considerations, BehaviorSourceUtilityAggregation? aggregation, BehaviorSourceUtilityExecutionMode executionMode)
Section titled “BehaviorUtilityBranch(string childId, IReadOnlyList<BehaviorSourceUtilityConsideration> considerations, BehaviorSourceUtilityAggregation? aggregation, BehaviorSourceUtilityExecutionMode executionMode)”public BehaviorUtilityBranch(string childId, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceUtilityConsideration> considerations, BitQuirky.Behavior.Authoring.BehaviorSourceUtilityAggregation? aggregation, BitQuirky.Behavior.Authoring.BehaviorSourceUtilityExecutionMode executionMode)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorUtilityBranchModel.cs:23-33
Creates one immutable branch reading.
BehaviorUtilityBranchModel
Section titled “BehaviorUtilityBranchModel”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorUtilityBranchModelSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorUtilityBranchModel.cs:58-83
Reads a Utility Selector’s branches from authored source in canvas order (research D-R2, D-R5).
Responsibilities:
- Collect every direct child edge of a Utility Selector node as one branch reading.
Does NOT:
- Mutate a document, execute an edit command, or compute a live runtime score.
Members
Section titled “Members”Collect(BehaviorSourceAst ast, string selectorId)
Section titled “Collect(BehaviorSourceAst ast, string selectorId)”public static System.Collections.Generic.List<BitQuirky.Behavior.Editor.BehaviorUtilityBranch> Collect(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string selectorId)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorUtilityBranchModel.cs:61-82
Collects every branch of the named Utility Selector in authored order.
BehaviorUtilityBranchScoreSnapshot
Section titled “BehaviorUtilityBranchScoreSnapshot”Category: Low-level runtime
struct BitQuirky.Behavior.Editor.BehaviorUtilityBranchScoreSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:203-215
Snapshot of one Utility Selector branch’s current score, surfaced from a binding’s IBehaviorEntityUtilityScoreCapabilityto the debugger’s per-agent tactic panel.
Responsibilities:
- Carry one baked branch’s source-order index, current score, and whether it is the selector’s retained commitment, so the panel can render one row without reading runtime memory directly.
Does NOT:
- Label the branch; the package never names a Utility Selector’s branches.
Members
Section titled “Members”BranchIndex
Section titled “BranchIndex”public int BranchIndexSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:206
Baked branch source order within its owning Utility Selector (0-based).
IsActive
Section titled “IsActive”public bool IsActiveSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:214
Whether this is the branch the selector last committed to, held across ticks (including across an instant-completing branch’s same-tick finish); never the transient per-tick running flag.
public float ScoreSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:208
The branch’s current score.
BehaviorWatchedFieldSnapshot
Section titled “BehaviorWatchedFieldSnapshot”Category: Low-level runtime
struct BitQuirky.Behavior.Editor.BehaviorWatchedFieldSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:27-39
Snapshot of a single watched blackboard slot, surfaced from a binding to the debugger’s “Watched Values” panel.
Responsibilities:
- Carry the field name + interned index + type + owner + display value so the editor can render one row without round-tripping to the runtime.
- Stay a plain value type with no methods.
Does NOT:
- Refer to live runtime memory; the runtime constructs a fresh snapshot each refresh and the editor reads it as a copy.
Members
Section titled “Members”DisplayValue
Section titled “DisplayValue”public string DisplayValueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:38
Current value already formatted for display.
FieldName
Section titled “FieldName”public string FieldNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:32
Author-facing field name.
FieldNameInternedIndex
Section titled “FieldNameInternedIndex”public int FieldNameInternedIndexSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:30
Interned-name index of the field in the baked artifact.
OwnerAuthority
Section titled “OwnerAuthority”public BitQuirky.Behavior.Baked.BakedAuthorityContext OwnerAuthoritySource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:36
Authority context that owns the field.
TypeCode
Section titled “TypeCode”public BitQuirky.Behavior.Baked.BakedFieldTypeCode TypeCodeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:34
Baked storage type of the field.
BlackboardCollectionEditor
Section titled “BlackboardCollectionEditor”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardCollectionEditorSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:35-770
Inherits: VisualElement
The ordered-element collection editor: a collection is its authored rows, each holding the same editor the single shape uses.
Responsibilities:
- Render every ordered element as one row: a list’s grip drag target, the index, the element type’s own editor, and the per-row remove control; and the per-collection Add element action a list carries.
- Own reordering: the grip is the drag target so dragging never fights the field under it, the insertion line shows where the element lands, releasing commits one undoable move, and Esc cancels with the order untouched.
- Render an array’s length as a field, where raising appends type defaults and lowering drops trailing elements as one undo step.
- Keep the two empties distinct: an empty collection states that it is a value, and a collection that is None reads None, drawn with a dashed outline and no Add control while an empty one keeps the solid border every collection has.
Does NOT:
- Mutate the document, sort elements, or render the dictionary entry editor.
Members
Section titled “Members”DragIndex
Section titled “DragIndex”public int DragIndex { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:116
Gets the dragged element index while a reorder is in flight, or -1.
InsertionIndex
Section titled “InsertionIndex”public int InsertionIndex { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:119
Gets where the dragged element would land, or -1.
BlackboardCollectionEditor(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor, BlackboardValueEditorHost host)
Section titled “BlackboardCollectionEditor(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor, BlackboardValueEditorHost host)”public BlackboardCollectionEditor(BitQuirky.Behavior.Authoring.BehaviorSourceDeclaredValue value, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueDescriptor descriptor, BitQuirky.Behavior.Editor.BlackboardValueEditorHost host)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:62-68
Creates the editor for one declared element collection value.
AddElement()
Section titled “AddElement()”public void AddElement()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:177-181
Appends one element holding the declared type’s default, as Add element does.
BeginReorder(int dragIndex)
Section titled “BeginReorder(int dragIndex)”public void BeginReorder(int dragIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:125-134
Begins a reorder from one row’s grip, exactly as pressing the grip does. The row lifts and the insertion line appears at its current position.
CancelReorder()
Section titled “CancelReorder()”public void CancelReorder()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:166-170
Cancels the drag with the order untouched, exactly as Esc does.
CommitReorder()
Section titled “CommitReorder()”public void CommitReorder()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:150-163
Releases the drag, committing one undoable move when the element lands anywhere but its own position.
RemoveElementAt(int index)
Section titled “RemoveElementAt(int index)”public void RemoveElementAt(int index)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:184-188
Removes one element, as its row’s remove control does.
SetElementFaults(IReadOnlyList<BlackboardFault> faults)
Section titled “SetElementFaults(IReadOnlyList<BlackboardFault> faults)”public void SetElementFaults(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BlackboardFault> faults)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:220-224
States the saved element faults this collection carries, each on the exact element that holds it, with length and order kept.
SetLength(int length)
Section titled “SetLength(int length)”public void SetLength(int length)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:191-196
Sets the authored length, as the array’s Length field does.
SetReorderInsertion(int insertionIndex)
Section titled “SetReorderInsertion(int insertionIndex)”public void SetReorderInsertion(int insertionIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:140-144
Moves the insertion line to where the dragged element would land, exactly as moving the pointer does. The index is a slot between rows, 0 through the element count.
SetToEmpty()
Section titled “SetToEmpty()”public void SetToEmpty()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:199-203
Writes the collection that is a value: zero elements, which is not None.
SetToNone()
Section titled “SetToNone()”public void SetToNone()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:206-210
Writes the explicit None state: no collection at all.
BlackboardDictionaryEditor
Section titled “BlackboardDictionaryEditor”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardDictionaryEditorSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3059-4514
Inherits: VisualElement
The dictionary entry editor: the collection editor recipe with one column more, the key on the left in the key type’s own editor and the value on the right in the value type’s own editor, at rail width in both graph windows.
Responsibilities:
- Keep the two empties distinct: None means no dictionary at all with New dictionary writing an empty one, and 0 entries is a dictionary that exists and holds nothing.
- Author entries in authored order with deliberately no drag grip, add one entry with its deterministically seeded key stated before the action, retype a key in place under the declared key type’s uniqueness and no-null-key rules, and remove one entry in one undo step.
- Hold the reserved marker states apart: an uncommitted key is amber and required, a saved null key is red and invalid, and a legal bare enum member named unset or none stays an ordinary key.
Does NOT:
- Mutate the document, sort or merge entries, or invent a key. Every edit raises intent through the host onto the undoable command vocabulary.
Members
Section titled “Members”FaultRecoveryRequested
Section titled “FaultRecoveryRequested”public System.Action<BitQuirky.Behavior.Editor.BlackboardFault, string> FaultRecoveryRequested { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3086
Gets the route a fault recovery button raises, with the exact fault and the exact recovery label, so the window applies it as one undoable edit.
NextSeed
Section titled “NextSeed”public BitQuirky.Behavior.Authoring.BehaviorDictionaryKeySeed NextSeed { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3142
Gets the seed the next Add entry will use, stated on the control before the action.
BlackboardDictionaryEditor(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor, BlackboardValueEditorHost host)
Section titled “BlackboardDictionaryEditor(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor, BlackboardValueEditorHost host)”public BlackboardDictionaryEditor(BitQuirky.Behavior.Authoring.BehaviorSourceDeclaredValue value, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueDescriptor descriptor, BitQuirky.Behavior.Editor.BlackboardValueEditorHost host)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3115-3132
Creates the editor for one declared dictionary value.
AddEntry()
Section titled “AddEntry()”public void AddEntry()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3148-3160
Adds the one real entry Add entry creates: the computed key when there is one, and otherwise a required key the author completes, always beside a default value.
CommitKeyAt(int index, string keyPayload)
Section titled “CommitKeyAt(int index, string keyPayload)”public void CommitKeyAt(int index, string keyPayload)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3174-3226
Commits one retyped key in place. Uniqueness, validity for the key type and the no-null-key rule are checked here, and a refused key never reaches the document.
CommitValueAt(int index, string valuePayload)
Section titled “CommitValueAt(int index, string valuePayload)”public void CommitValueAt(int index, string valuePayload)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3229-3244
Commits one entry’s value, edited with the single-shape control for its type.
RemoveEntryAt(int index)
Section titled “RemoveEntryAt(int index)”public void RemoveEntryAt(int index)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3163-3168
Removes one entry, dropping that key and value in one undo step.
SetEntryFaults(IReadOnlyList<BlackboardFault> faults)
Section titled “SetEntryFaults(IReadOnlyList<BlackboardFault> faults)”public void SetEntryFaults(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BlackboardFault> faults)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3092-3096
States the saved entry faults this dictionary carries, each on the exact entry that holds it: reported inline, never fixed by discarding what the author typed.
SetToEmpty()
Section titled “SetToEmpty()”public void SetToEmpty()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3247-3251
Writes the dictionary that is a value: zero entries, which is not None.
SetToNone()
Section titled “SetToNone()”public void SetToNone()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3254-3259
Writes the explicit None state: no dictionary at all.
BlackboardEnumDropdown
Section titled “BlackboardEnumDropdown”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardEnumDropdownSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardEnumDropdown.cs:29-346
Inherits: VisualElement
The enum editor: a dropdown of the declared values in declaration order, saving the member name so reordering the enum in code changes nothing; a flags enum sets several members at once, reads the set comma separated, saves it bracketed, and keeps the empty set legitimate.
Responsibilities:
- Read the declared enum’s members in declaration order, mark the current value with a check stroke, and commit the exact member name (or canonical bracketed member set).
- Render its open menu inline over the surface beneath, never in a separate window.
Does NOT:
- Repair an unknown saved member; the value keeps its saved text and the fault surfaces report it.
Members
Section titled “Members”IsMenuOpen
Section titled “IsMenuOpen”public bool IsMenuOpen { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardEnumDropdown.cs:120
Gets whether the member menu is open.
MemberNames
Section titled “MemberNames”public System.Collections.Generic.IReadOnlyList<string> MemberNames { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardEnumDropdown.cs:123-126
Gets the declared member names in declaration order, for coverage.
BlackboardEnumDropdown(Type enumType, string payload, Action<string> commit, BlackboardValueEditorHost host, string statePath)
Section titled “BlackboardEnumDropdown(Type enumType, string payload, Action<string> commit, BlackboardValueEditorHost host, string statePath)”public BlackboardEnumDropdown(System.Type enumType, string payload, System.Action<string> commit, BitQuirky.Behavior.Editor.BlackboardValueEditorHost host = null, string statePath = null)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardEnumDropdown.cs:49-113
Creates the dropdown for one resolved enum type and its saved payload.
ChooseMember(string memberName)
Section titled “ChooseMember(string memberName)”public void ChooseMember(string memberName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardEnumDropdown.cs:155-177
Chooses one member exactly as clicking its menu row does: an ordinary enum commits the member name and closes; a flags enum toggles the member in the open set, keeps its friendly comma-separated reading, commits each canonical bracketed set, and keeps the rebuilt menu open for the next selection, with the empty set legitimate.
SetMenuOpen(bool open)
Section titled “SetMenuOpen(bool open)”public void SetMenuOpen(bool open)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardEnumDropdown.cs:129-147
Opens or closes the member menu.
BlackboardFault
Section titled “BlackboardFault”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardFaultSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:67-132
One blackboard fault, carrying everything the four reporting surfaces state.
Responsibilities:
- Name the variable and the exact element, field or entry that holds the fault, the exact headline and tag, the message in its exact wording, the saved text kept verbatim, and the recoveries that fit this exact fault.
Does NOT:
- Repair anything, or decide which of the author’s entries to discard.
Members
Section titled “Members”BlocksBake
Section titled “BlocksBake”public bool BlocksBake { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:131
Gets or sets whether this fault blocks the bake.
Candidates
Section titled “Candidates”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity> Candidates { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:127-128
Gets or sets the candidate identities offered rather than adopted.
Domain
Section titled “Domain”public BitQuirky.Behavior.Editor.BlackboardFaultDomain Domain { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:76
Gets or sets the exact control the fault is aimed at.
FieldName
Section titled “FieldName”public string FieldName { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:85
Gets or sets the saved struct field this fault names, or the empty string.
Headline
Section titled “Headline”public string Headline { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:94
Gets or sets the card headline, in its exact casing.
public int Index { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:82
Gets or sets the element or entry index, or -1 when it applies to neither.
KeyText
Section titled “KeyText”public string KeyText { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:88
Gets or sets the entry key text this fault leaves intact.
Message
Section titled “Message”public string Message { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:100
Gets or sets the message stated inline, in its exact wording.
Ordinal
Section titled “Ordinal”public string Ordinal { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:91
Gets or sets the “1 OF 2” ordinal two colliding entries each carry.
Reason
Section titled “Reason”public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueRejectionReason Reason { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:73
Gets or sets the stable reason this declaration was rejected.
Recoveries
Section titled “Recoveries”public System.Collections.Generic.IReadOnlyList<string> Recoveries { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:124
Gets or sets the recoveries this exact fault offers, in order.
SavedText
Section titled “SavedText”public string SavedText { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:121
Gets or sets the author’s text, kept exactly as saved.
Severity
Section titled “Severity”public BitQuirky.Behavior.Editor.BlackboardFaultSeverity Severity { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:79
Gets or sets whether the fault reads amber-required or red-invalid.
public string Tag { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:97
Gets or sets the inline tag, in its exact casing.
ValidationBody
Section titled “ValidationBody”public string ValidationBody { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:112
Gets or sets the rail Validation card’s body: the consequence, the exact declared identity and the path, which the row never restates.
ValidationContext
Section titled “ValidationContext”public string ValidationContext { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:118
Gets or sets the rail Validation card’s context line, variable, type and path. The inspector prefixes the asset name when it knows it.
ValidationHeader
Section titled “ValidationHeader”public string ValidationHeader { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:106
Gets or sets the rail Validation card’s header for this fault, tag and domain, or the empty string when the card uses its ordinary detail head.
VariableName
Section titled “VariableName”public string VariableName { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:70
Gets or sets the declared variable that carries the fault.
BlackboardFaultDomain
Section titled “BlackboardFaultDomain”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BlackboardFaultDomainSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:32-54
Underlying type: byte
Which exact control one blackboard fault is aimed at, so it is reported where it is rather than against the whole row.
Members
Section titled “Members”Element
Section titled “Element”Element = 3Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:44
One element of a list or array, in authored order.
EntryKey
Section titled “EntryKey”EntryKey = 5Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:50
One dictionary entry’s key.
EntryValue
Section titled “EntryValue”EntryValue = 6Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:53
One dictionary entry’s value.
Field = 4Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:47
One saved field of a struct or class instance.
KeyType
Section titled “KeyType”KeyType = 2Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:41
The key half of a dictionary’s two type identities.
ValueType
Section titled “ValueType”ValueType = 1Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:38
The value half of a declaration’s type identity.
Variable
Section titled “Variable”Variable = 0Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:35
The declared variable itself.
BlackboardFaultPresenter
Section titled “BlackboardFaultPresenter”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardFaultPresenterSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:154-1376
Collects every blackboard fault a graph carries and states it the way this product already states a broken member binding.
Responsibilities:
- Detect the three type-resolution outcomes, the four invalid-value cases, the seven dictionary faults and the entity-path verdict, against the exact control that holds each one, keeping every saved payload verbatim.
- State each fault’s exact headline, tag, message, casing and recoveries, so the inline row, the toolbar verdict, the status bar and the rail Validation card all read from one source rather than restating the wording three times.
- Build the one undoable command each recovery is.
Does NOT:
- Render anything. The Variables section, toolbar, status bar and inspector each render this model into their own surface.
- Repair, coerce, convert or discard an authored value.
Members
Section titled “Members”UseTheGameObjectPath
Section titled “UseTheGameObjectPath”public const string UseTheGameObjectPath = "Use the GameObject path"Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:173
The recovery that lands on the graph’s Runtime path row, where the GameObject or Entity choice is made.
BlocksBake(BehaviorSourceDocument document)
Section titled “BlocksBake(BehaviorSourceDocument document)”public static bool BlocksBake(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:205-216
Gets whether any collected fault blocks the bake.
BuildRecovery(BehaviorSourceDocument document, BlackboardFault fault, string recovery)
Section titled “BuildRecovery(BehaviorSourceDocument document, BlackboardFault fault, string recovery)”public static BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.IBehaviorTreeEditCommand BuildRecovery(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, BitQuirky.Behavior.Editor.BlackboardFault fault, string recovery)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:304-344
Builds the one undoable command a named recovery is, or null when the recovery opens a picker rather than writing an edit. Every command here is one interaction and one undo step, and none removes anything the author did not point at.
Collect(BehaviorSourceDocument document)
Section titled “Collect(BehaviorSourceDocument document)”public static System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BlackboardFault> Collect(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:182-202
Collects every fault the graph carries, in author order, entry order first.
RuntimePathOf(BehaviorSourceDocument document)
Section titled “RuntimePathOf(BehaviorSourceDocument document)”public static BitQuirky.Behavior.Authoring.BehaviorSourceRuntimePath RuntimePathOf(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:219-233
Gets the graph’s Runtime path, which defaults to the GameObject path.
SavedTextOf(BehaviorSourceDocument document, string variableName)
Section titled “SavedTextOf(BehaviorSourceDocument document, string variableName)”public static string SavedTextOf(BitQuirky.Behavior.Authoring.BehaviorSourceDocument document, string variableName)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:239-243
Gets one declared variable’s saved text exactly as the author wrote it, which is what a fault frame shows beneath “value kept, exactly as saved”.
StatusBarMessage(BlackboardFault fault)
Section titled “StatusBarMessage(BlackboardFault fault)”public static string StatusBarMessage(BitQuirky.Behavior.Editor.BlackboardFault fault)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:264-290
Gets the status bar’s reading, which names the variable that carries it.
VerdictLabel(int issueCount)
Section titled “VerdictLabel(int issueCount)”public static string VerdictLabel(int issueCount)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:253-261
Gets the toolbar verdict chip’s label. The chip and its tiers are the ones the product already uses; only the domain word changes, so two verdicts never blur.
BlackboardFaultSeverity
Section titled “BlackboardFaultSeverity”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BlackboardFaultSeveritySource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:19-26
Underlying type: byte
How loudly one blackboard fault reads. Amber is an ordinary authoring state that is not finished; red is a saved state that is wrong.
Members
Section titled “Members”Invalid
Section titled “Invalid”Invalid = 1Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:25
The saved state does not fit what it declares.
Required
Section titled “Required”Required = 0Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:22
Nothing is wrong yet: the author has not finished this declaration.
BlackboardFoldingInstanceElement
Section titled “BlackboardFoldingInstanceElement”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardFoldingInstanceElementSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:795-920
Inherits: VisualElement
One folding instance value: the shared disclosure mark and the scannable folded reading on the line, and the instance’s own field editor beneath it.
Responsibilities:
- Keep a long list scannable: the folded line reads the leading field values, and the caret opens the full field editor in place.
Does NOT:
- Change what the fields editor writes; folding is presentation only.
Members
Section titled “Members”IsExpanded
Section titled “IsExpanded”public bool IsExpanded { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:876
Gets whether the fields editor is open under the folded line.
BlackboardFoldingInstanceElement(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, Action<string> commit, BlackboardValueEditorHost host)
Section titled “BlackboardFoldingInstanceElement(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, Action<string> commit, BlackboardValueEditorHost host)”public BlackboardFoldingInstanceElement(BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind kind, System.Type resolvedType, string payload, System.Action<string> commit, BitQuirky.Behavior.Editor.BlackboardValueEditorHost host)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:815-823
Creates the folding element around one struct or class payload.
SetExpanded(bool expanded)
Section titled “SetExpanded(bool expanded)”public void SetExpanded(bool expanded)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:891-905
Opens or folds the instance’s own field editor.
BlackboardInlineSequenceEditor
Section titled “BlackboardInlineSequenceEditor”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardInlineSequenceEditorSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:933-1132
Inherits: VisualElement
A collection field inside a customer type: the collection editor recipe against the field’s inline sequence payload.
Responsibilities:
- Edit the ordered elements of one serialized collection field in place: per-row edit and remove, and Add element appending the element type’s default.
Does NOT:
- Reorder by grip; the variable-level collection rows own the drag surface.
Members
Section titled “Members”BlackboardInlineSequenceEditor(BehaviorDeclaredValueKind elementKind, Type elementType, string payload, Action<string> commit, BlackboardValueEditorHost host, string statePath)
Section titled “BlackboardInlineSequenceEditor(BehaviorDeclaredValueKind elementKind, Type elementType, string payload, Action<string> commit, BlackboardValueEditorHost host, string statePath)”public BlackboardInlineSequenceEditor(BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind elementKind, System.Type elementType, string payload, System.Action<string> commit, BitQuirky.Behavior.Editor.BlackboardValueEditorHost host, string statePath = null)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:949-971
Creates the editor over one inline sequence payload.
AddElement()
Section titled “AddElement()”public void AddElement()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:974-979
Appends one element holding the element type’s default.
RemoveElementAt(int index)
Section titled “RemoveElementAt(int index)”public void RemoveElementAt(int index)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:982-987
Removes one element, keeping the order of the rest.
BlackboardInstanceEditor
Section titled “BlackboardInstanceEditor”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardInstanceEditorSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:32-782
Inherits: VisualElement
The customer struct and class editor: the declared type’s serialized fields are the editor, one row per field in declaration order, each with its own control.
Responsibilities:
- Render exactly the fields the type serializes, in declaration order, with each field kind’s own control; fold a struct field one level deeper; and give a collection field the collection editor.
- Keep a struct always holding a value, and a class either None (with New {Type} writing one instance) or one instance edited in place, with Set to None one undo step.
- Keep a field added in code at its type default, and report a field removed in code with its saved text in place rather than discarding it.
Does NOT:
- Mutate the document, invent a field, or drop a saved field the type no longer declares.
Members
Section titled “Members”IsNone
Section titled “IsNone”public bool IsNone { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:97-99
Gets whether the class value currently holds no instance.
BlackboardInstanceEditor(BehaviorDeclaredValueKind kind, BehaviorDeclaredValueDescriptor descriptor, string payload, Action<string> commit, BlackboardValueEditorHost host, string statePath)
Section titled “BlackboardInstanceEditor(BehaviorDeclaredValueKind kind, BehaviorDeclaredValueDescriptor descriptor, string payload, Action<string> commit, BlackboardValueEditorHost host, string statePath)”public BlackboardInstanceEditor(BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind kind, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueDescriptor descriptor, string payload, System.Action<string> commit, BitQuirky.Behavior.Editor.BlackboardValueEditorHost host, string statePath = null)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:56-65
Creates the editor for one struct or class payload.
BlackboardInstanceEditor(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, Action<string> commit, BlackboardValueEditorHost host, string statePath)
Section titled “BlackboardInstanceEditor(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, Action<string> commit, BlackboardValueEditorHost host, string statePath)”public BlackboardInstanceEditor(BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind kind, System.Type resolvedType, string payload, System.Action<string> commit, BitQuirky.Behavior.Editor.BlackboardValueEditorHost host, string statePath = null)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:68-90
Creates the editor against a resolved type, for nested payload editing.
CreateInstance()
Section titled “CreateInstance()”public void CreateInstance()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:105-112
Writes one instance into the graph and opens its fields, as New {Type} does. Every field starts at its own type default.
SetToNone()
Section titled “SetToNone()”public void SetToNone()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:115-118
Removes the instance and its field values as one undo step.
BlackboardObjectReferenceField
Section titled “BlackboardObjectReferenceField”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardObjectReferenceFieldSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardObjectReferenceField.cs:27-449
Inherits: VisualElement
The object and interface reference field: a project asset saved as GUID plus name, None as a legitimate value, an attempted scene object refused without being stored, and a deleted asset reported with its GUID preserved and a two-button recovery.
Responsibilities:
- State which asset the value holds, or None; refuse a scene object at the field with the node Target offered instead; and report a missing asset without discarding the saved reference.
- Accept a dropped or picked project asset whose type satisfies the declared type (or
interface), and commit the canonical
asset(guid, "name")payload.
Does NOT:
- Store a scene object, invent a value, or clear a missing reference on its own.
Members
Section titled “Members”IsMissing
Section titled “IsMissing”public bool IsMissing { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardObjectReferenceField.cs:77-85
Gets whether the saved reference no longer resolves to an asset.
IsRefusing
Section titled “IsRefusing”public bool IsRefusing { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardObjectReferenceField.cs:74
Gets whether the field currently reports a refused assignment.
BlackboardObjectReferenceField(BehaviorDeclaredValueKind kind, Type declaredType, string payload, Action<string> commit, BlackboardValueEditorHost host)
Section titled “BlackboardObjectReferenceField(BehaviorDeclaredValueKind kind, Type declaredType, string payload, Action<string> commit, BlackboardValueEditorHost host)”public BlackboardObjectReferenceField(BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind kind, System.Type declaredType, string payload, System.Action<string> commit, BitQuirky.Behavior.Editor.BlackboardValueEditorHost host)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardObjectReferenceField.cs:45-67
Creates the field for one declared reference value.
SetToNone()
Section titled “SetToNone()”public void SetToNone()Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardObjectReferenceField.cs:129-133
Takes the missing state’s Set to None recovery.
TryAssignObject(Object candidate)
Section titled “TryAssignObject(Object candidate)”public bool TryAssignObject(UnityEngine.Object candidate)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardObjectReferenceField.cs:93-126
Assigns one candidate exactly as a drop or pick does: null commits None, a scene object is refused without being stored, a project asset that does not satisfy the declared type is refused, and a satisfying project asset commits its GUID and name. Returns whether the candidate was written.
BlackboardOwnerFilter
Section titled “BlackboardOwnerFilter”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BlackboardOwnerFilterSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:10-20
Underlying type: int
Owner filter chip for the Blackboard panel .
Members
Section titled “Members”All = 0Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:13
Show every variable, whatever authority owns it.
Client
Section titled “Client”Client = 2Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:19
Show only client-authoritative variables.
Host = 1Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:16
Show only host-authoritative variables.
BlackboardRailPanel
Section titled “BlackboardRailPanel”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardRailPanelSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:33-578
The graph-wide Blackboard band both graph windows dock beneath their selection rail: the
sharedResizableScopedPanel captioned BLACKBOARD · WHOLE GRAPH, holding
the issue-onlyGRAPH VALIDATIONcard, the asset line, and the blackboard content the
window hosts in it.
Responsibilities:
- Build the panel chrome once, restore its committed height from EditorPrefs, and persist every committed seam drag under the window’s own key.
- State every blackboard fault and every binding the graph’s Runtime path cannot carry in the Validation card, each with its recoveries, and hide the card while there is nothing to fix.
Does NOT:
- Own the blackboard content or its editing events; the window builds its BehaviorTreeBlackboardPanel and hosts it through Host.
- Decide what is faulted; the window collects faults and uncarried bindings and pushes them.
Members
Section titled “Members”AssetFileName
Section titled “AssetFileName”public string AssetFileName { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:221-234
Gets or sets the asset file name every blackboard surface names: the asset line reads it with its extension and each fault’s context line reads its stem.
public UnityEngine.UIElements.ScrollView Body { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:206
Gets the panel’s independently scrolling body.
Faults
Section titled “Faults”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BlackboardFault> Faults { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:212
Gets the faults the card currently states.
public BitQuirky.Graph.GraphView.Controls.ResizableScopedPanel Root { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:203
Gets the band the window adds directly to its rail.
UncarriedBindings
Section titled “UncarriedBindings”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding> UncarriedBindings { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:215
Gets the bindings the current Runtime path cannot carry.
ValidationCard
Section titled “ValidationCard”public UnityEngine.UIElements.VisualElement ValidationCard { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:209
Gets the issue-only Validation card, for windows that reframe it as evidence.
OnFaultRecoveryRequested
Section titled “OnFaultRecoveryRequested”public event System.Action<BitQuirky.Behavior.Editor.BlackboardFault, string> OnFaultRecoveryRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:82
Raised when a fault’s recovery is chosen: the exact fault and the label.
OnUncarriedBindingRecoveryRequested
Section titled “OnUncarriedBindingRecoveryRequested”public event System.Action<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding, string> OnUncarriedBindingRecoveryRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:88
Raised when an uncarried binding’s recovery is chosen in the Validation card, with the exact report and the exact recovery label. Each is one edit and one undo step.
BlackboardRailPanel(string heightEditorPrefsKey, ScrollView selectionScroll, VisualElement selectionHeader)
Section titled “BlackboardRailPanel(string heightEditorPrefsKey, ScrollView selectionScroll, VisualElement selectionHeader)”public BlackboardRailPanel(string heightEditorPrefsKey, UnityEngine.UIElements.ScrollView selectionScroll, UnityEngine.UIElements.VisualElement selectionHeader)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:94-200
Builds the panel.heightEditorPrefsKeyis the window’s own home for
the committed height, so each graph window keeps the band height its author chose.
Host(VisualElement content)
Section titled “Host(VisualElement content)”public void Host(UnityEngine.UIElements.VisualElement content)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:240-244
Hosts the window’s blackboard content beneath the asset line. The content renders chrome-free and always expanded: the scope band is the panel’s one heading.
UpdateFaults(IReadOnlyList<BlackboardFault> faults)
Section titled “UpdateFaults(IReadOnlyList<BlackboardFault> faults)”public void UpdateFaults(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BlackboardFault> faults)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:355-359
States every blackboard fault in the Validation card, each with the variable it is on, the exact element it is aimed at, its reason and its approved recoveries.
UpdateUncarriedBindings(IReadOnlyList<BehaviorUncarriedBinding> uncarried)
Section titled “UpdateUncarriedBindings(IReadOnlyList<BehaviorUncarriedBinding> uncarried)”public void UpdateUncarriedBindings(System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding> uncarried)Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:366-370
States every binding the graph’s Runtime path cannot carry, each with the recoveries its exact shape offers. Switching the path is accepted rather than refused: the report blocks the bake and never blocks authoring, and nothing authored is reinterpreted.
BlackboardValueEditorHost
Section titled “BlackboardValueEditorHost”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardValueEditorHostSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:230-377
The seam every value editor raises intent and resolves assets through.
Responsibilities:
- Route single-payload writes and structural collection edits to the owner, which routes them through the undoable command path.
- Resolve a saved GUID to its project asset, and a dropped object back to its GUID, so deterministic tests inject resolution while production reads the AssetDatabase.
Does NOT:
- Mutate the document, or decide what a refused object’s recovery is.
Members
Section titled “Members”EditRequested
Section titled “EditRequested”public System.Action<BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest> EditRequested { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:253
Gets the structural edit route.
GoToEntryRequested
Section titled “GoToEntryRequested”public System.Action<string, int> GoToEntryRequested { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:268
Gets the route that focuses the entry already holding a refused duplicate key, which is the Go to that entry recovery.
ResolveAsset
Section titled “ResolveAsset”public System.Func<string, UnityEngine.Object> ResolveAsset { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:256
Gets the saved-GUID-to-asset resolution, which answers null when missing.
ResolveAssetGuid
Section titled “ResolveAssetGuid”public System.Func<UnityEngine.Object, string> ResolveAssetGuid { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:262
Gets the object-to-GUID resolution, which answers the empty string for anything that is not a project asset, such as a scene object.
RevalueRequested
Section titled “RevalueRequested”public System.Action<string, string> RevalueRequested { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:250
Gets the single-payload write route.
BlackboardValueEditorHost(Action<string, string> revalueRequested, Action<BehaviorBlackboardValueEditRequest> editRequested, Func<string, Object> resolveAsset, Func<Object, string> resolveAssetGuid)
Section titled “BlackboardValueEditorHost(Action<string, string> revalueRequested, Action<BehaviorBlackboardValueEditRequest> editRequested, Func<string, Object> resolveAsset, Func<Object, string> resolveAssetGuid)”public BlackboardValueEditorHost(System.Action<string, string> revalueRequested, System.Action<BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest> editRequested, System.Func<string, UnityEngine.Object> resolveAsset, System.Func<UnityEngine.Object, string> resolveAssetGuid)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:237-247
Creates a host with explicit routing and resolution.
CreateDefault(Action<string, string> revalueRequested, Action<BehaviorBlackboardValueEditRequest> editRequested)
Section titled “CreateDefault(Action<string, string> revalueRequested, Action<BehaviorBlackboardValueEditRequest> editRequested)”public static BitQuirky.Behavior.Editor.BlackboardValueEditorHost CreateDefault(System.Action<string, string> revalueRequested, System.Action<BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest> editRequested)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:355-376
Creates the production host, which resolves through the AssetDatabase.
BlackboardValueEditors
Section titled “BlackboardValueEditors”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BlackboardValueEditorsSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:399-3037
The value editors of the Blackboard Variables panel: one editor per shape, each the lightest control that round-trips, at rail width in both graph windows.
Responsibilities:
- Build the single-field cell editors (text, char, whole number, decimal, bool, enum, flags enum, asset reference, interface reference), each writing its canonical payload with no apply step, and refusing an invalid value at the field.
- Build the expanded editors a value with parts opens under its row: every Unity value struct’s components, a customer struct or class’s own serialized fields, and a list or array’s ordered element rows with grip reorder, per-row add and remove, and an array’s length field.
- Keep None and the type default distinct everywhere, at every level.
Does NOT:
- Mutate the document. Every control raises intent through the host, and the window routes it through the undoable edit commands.
Members
Section titled “Members”BuildCellEditor(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor, BlackboardValueEditorHost host, bool withReset)
Section titled “BuildCellEditor(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor, BlackboardValueEditorHost host, bool withReset)”public static UnityEngine.UIElements.VisualElement BuildCellEditor(BitQuirky.Behavior.Authoring.BehaviorSourceDeclaredValue value, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueDescriptor descriptor, BitQuirky.Behavior.Editor.BlackboardValueEditorHost host, bool withReset = true)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:625-677
Builds the persistent control shown in a single scalar row. This is the sole
type-to-control presentation path for both resting and focused states, covering
text, char, whole number, decimal, bool, enum and flags enum, a Unity object
reference, and an interface or abstract reference whose only writable values are a
satisfying project asset or None. WithwithResetfalse the caller
places Reset to default itself (seeCellEditorCarriesReset).
BuildExpandedBody(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor, BlackboardValueEditorHost host)
Section titled “BuildExpandedBody(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor, BlackboardValueEditorHost host)”public static UnityEngine.UIElements.VisualElement BuildExpandedBody(BitQuirky.Behavior.Authoring.BehaviorSourceDeclaredValue value, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueDescriptor descriptor, BitQuirky.Behavior.Editor.BlackboardValueEditorHost host)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:711-770
Builds the expanded editor a value with parts opens under its row: a Unity value struct’s components, a customer struct or class’s fields, or a collection’s ordered rows.
BuildLiveMemberCurrentEditor(BehaviorLiveMemberSnapshot snapshot, Action<BehaviorLiveMemberValue> commit, Action<string> onIncompatibleInput)
Section titled “BuildLiveMemberCurrentEditor(BehaviorLiveMemberSnapshot snapshot, Action<BehaviorLiveMemberValue> commit, Action<string> onIncompatibleInput)”public static UnityEngine.UIElements.VisualElement BuildLiveMemberCurrentEditor(BitQuirky.Behavior.Member.BehaviorLiveMemberSnapshot snapshot, System.Action<BitQuirky.Behavior.Member.BehaviorLiveMemberValue> commit, System.Action<string> onIncompatibleInput = null)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:777-792
Builds the exact-type inline editor for one healthy writable Live member Current row. Reuses the shared blackboard single-field controls so the live edit behaves like the authored value editor, but commits a runtime value instead of a canonical payload.
CellEditorCarriesReset(BehaviorDeclaredValueKind kind)
Section titled “CellEditorCarriesReset(BehaviorDeclaredValueKind kind)”public static bool CellEditorCarriesReset(BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind kind)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:683-704
Gets whetherBuildCellEditorcarries Reset to default for a single value of this kind: the value types, whose empty state is the type default.
EditsInCell(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor)
Section titled “EditsInCell(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor)”public static bool EditsInCell(BitQuirky.Behavior.Authoring.BehaviorSourceDeclaredValue value, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueDescriptor descriptor)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:541-575
Returns whether the declared shape edits in the row’s value cell: the single-field shapes do, and a value with parts expands under the row instead.
HasExpandedEditor(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor)
Section titled “HasExpandedEditor(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor)”public static bool HasExpandedEditor(BitQuirky.Behavior.Authoring.BehaviorSourceDeclaredValue value, BitQuirky.Behavior.Authoring.BehaviorDeclaredValueDescriptor descriptor)Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:581-612
Returns whether the declared value opens an expanded editor under its row’s caret. Every collection shape does, including the dictionary’s entry editor.
Candidate
Section titled “Candidate”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeNodeSearchPopover.CandidateSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:95-113
One searchable node projected from the current graph. Identity is independent of the display copy so duplicate labels remain safe to activate.
Members
Section titled “Members”DisplayName
Section titled “DisplayName”public string DisplayName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:109
The authored or convention-derived name to match and display.
public string Kind { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:112
The node kind displayed beside the result name.
NodeId
Section titled “NodeId”public System.Guid NodeId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:106
The current graph node that displays this result.
Candidate(Guid nodeId, string displayName, string kind)
Section titled “Candidate(Guid nodeId, string displayName, string kind)”public Candidate(System.Guid nodeId, string displayName, string kind)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:98-103
Associates a searchable name and kind with its displayed graph node.
ContextMessageKind
Section titled “ContextMessageKind”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeEditorStatusBar.ContextMessageKindSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:664-674
Underlying type: int
Identifies the contextual message color treatment.
Members
Section titled “Members”Error = 2Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:673
Problem the author must act on, drawn in the error ink with the warning glyph.
Neutral
Section titled “Neutral”Neutral = 0Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:667
Plain informational message, drawn in the default ink with the check glyph.
Success
Section titled “Success”Success = 1Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:670
Confirmation of a completed action, drawn in the success ink with the check glyph.
HostedResultEventChoice
Section titled “HostedResultEventChoice”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.HostedResultEventChoiceSource declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:23-39
One result event a source state exposes to its outgoing transitions.
Responsibilities:
- Carry the stable event identity plus the result it is exposed from.
Does NOT:
- Read the source document, decide eligibility, or retain UI elements.
Members
Section titled “Members”EventId
Section titled “EventId”public readonly string EventIdSource declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:26
Stable event identity stored on the consuming transition.
ResultLabel
Section titled “ResultLabel”public readonly string ResultLabelSource declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:29
Result the event is exposed from, either Success or Failure.
HostedResultEventChoice(string eventId, string resultLabel)
Section titled “HostedResultEventChoice(string eventId, string resultLabel)”public HostedResultEventChoice(string eventId, string resultLabel)Source declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:34-38
Creates one immutable exposed-event choice.
Parameters
eventId: Stable event identity.resultLabel: Result the event is exposed from.
HostedResultEventPickerPopover
Section titled “HostedResultEventPickerPopover”Category: Low-level runtime
class BitQuirky.Behavior.Editor.HostedResultEventPickerPopoverSource declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:59-278
Exposed-event picker for an event-driven transition trigger.
Responsibilities:
- List only the result events the transition’s source state exposes, at most one per result.
- Mark the transition’s saved event as the committed row, including a saved identity that no longer resolves from the source state.
- Complete the trigger choice from one row activation and raise the chosen identity after closing.
- Say what to expose first when the source state exposes nothing.
Does NOT:
- Expose a result, rename an event, invent an identity, mutate the source document, or record an undo step.
- Open an EditorWindow or apply a second confirmation.
Members
Section titled “Members”EventChosen
Section titled “EventChosen”public event System.Action<string> EventChosenSource declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:79
Raised with the stable identity of the chosen result event.
HostedResultEventPickerPopover()
Section titled “HostedResultEventPickerPopover()”public HostedResultEventPickerPopover()Source declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:86-110
Creates the exposed result-event picker.
Close()
Section titled “Close()”public void Close()Source declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:163-166
Closes the picker and keeps the prior trigger.
Open(VisualElement panelRoot, VisualElement anchor, IReadOnlyList<HostedResultEventChoice> choices, string currentEventId)
Section titled “Open(VisualElement panelRoot, VisualElement anchor, IReadOnlyList<HostedResultEventChoice> choices, string currentEventId)”public void Open(UnityEngine.UIElements.VisualElement panelRoot, UnityEngine.UIElements.VisualElement anchor, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.HostedResultEventChoice> choices, string currentEventId)Source declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:123-160
Opens the picker anchored to the transition’s trigger field.
Parameters
panelRoot: Panel the popover is constrained to.anchor: Element the popover is anchored below.choices: Result events the source state exposes.currentEventId: Identity the transition already consumes, or null.
IBehaviorEntityIdentityCapability
Section titled “IBehaviorEntityIdentityCapability”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorEntityIdentityCapabilitySource declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:109-116
Optional live-binding capability exposing immutable runtime entity identity.
Responsibilities:
- Supply the five compact identity details a pure-entity binding states.
Does NOT:
- Resolve selection or select a replacement entity.
Members
Section titled “Members”Identity
Section titled “Identity”BitQuirky.Behavior.Editor.BehaviorEntityIdentitySnapshot Identity { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:115
Identity captured when the binding was created; it stays readable after the entity is destroyed.
IBehaviorEntityLifecycleCapability
Section titled “IBehaviorEntityLifecycleCapability”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorEntityLifecycleCapabilitySource declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:128-159
Optional live-binding capability exposing explicit entity lifecycle presentation.
Responsibilities:
- Sample the exact binding once before presentation.
- Retain design and recent-event snapshots after terminal identity loss.
Does NOT:
- Rebind after destruction or supply debug controls.
Members
Section titled “Members”Lifecycle
Section titled “Lifecycle”BitQuirky.Behavior.Editor.BehaviorEntityBindingLifecycle Lifecycle { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:131
Whether the bound entity is still live or has been destroyed.
LifecycleMessage
Section titled “LifecycleMessage”string LifecycleMessage { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:134
Author-facing explanation of the current lifecycle state.
SnapshotVersion
Section titled “SnapshotVersion”long SnapshotVersion { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:140
Monotonic version of the last sample; callers compare it to skip re-reading unchanged state.
ReadBlackboardDesignFields()
Section titled “ReadBlackboardDesignFields()”System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorBlackboardFieldSnapshot> ReadBlackboardDesignFields()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:158
Design-time blackboard field values, retained after destruction so the rail keeps showing the authored values.
ReadRecentEvents()
Section titled “ReadRecentEvents()”System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorRecentEventSnapshot> ReadRecentEvents()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:152
Recent event rows for the entity, retained after destruction so the log explaining the loss stays readable.
Refresh()
Section titled “Refresh()”void Refresh()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:146
Samples the binding once so every value read afterwards comes from the same instant.
IBehaviorEntityNodeStatusCapability
Section titled “IBehaviorEntityNodeStatusCapability”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorEntityNodeStatusCapabilitySource declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:29-31
Implements: IBehaviorNodeStatusCapability
Optional live-binding capability exposing one retained status per baked node, on the entity binding specifically.
Responsibilities:
- Supply the latest status vector and the deepest node executed in the latest tick.
Does NOT:
- Change the source-compatible base debugger binding contract.
Public since and listed in the generated public API reference; a customer
editor extension or custom debugger binding may already implement or cast to this exact
type. It now derives fromIBehaviorNodeStatusCapability, the shared
contract both object models’ canvas presentation actually reads from, instead of
declaring its own copy of the same two members: an existing implementer still compiles
unchanged (same member signatures, inherited from the shared base), and it automatically
satisfies the shared capability too, soBehaviorEntityDebuggerBinding
publishes per-node status through this named type while
BehaviorAgentDebuggerBindingpublishes the same
shared contract directly (C2; Principle VIII additive surface).
IBehaviorEntityUtilityScoreCapability
Section titled “IBehaviorEntityUtilityScoreCapability”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorEntityUtilityScoreCapabilitySource declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:45-53
Optional live-binding capability exposing one selected entity’s Utility Selector branch scores.
Responsibilities:
- Supply every baked branch’s current score and whether it is the active branch, indexed by baked branch source order (research D-R10).
Does NOT:
- Decide selection, aggregate scores, or label a branch; the shared tick core computes and writes every value this capability reads.
Members
Section titled “Members”ReadUtilityBranchScores()
Section titled “ReadUtilityBranchScores()”System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorUtilityBranchScoreSnapshot> ReadUtilityBranchScores()Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:52
Latest branch scores and active flags for the selected entity’s Utility Selector, indexed by baked branch source order. Empty when the selected entity’s graph contains no Utility Selector branch.
IBehaviorGraphDebugControl
Section titled “IBehaviorGraphDebugControl”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorGraphDebugControlSource declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebugControl.cs:27-52
Editor-facing capability supplied to a Live document so it can pause, resume, single-step, and observe node-enter notifications for one follower’s behavior tree without taking a dependency on the runtime that ticks it. Required for Live documents and asserted when the document opens .
Responsibilities (implementations):
- Honour per-follower pause / resume / step requests against the underlying authoritative runtime; in networked play only the host-owned runtime should mutate authoritative tick state.
- Surface node-enter notifications via SubscribeNodeEnteredso the breakpoint service can request pause when a marked node is entered.
Does NOT:
- Carry any read-only state: that is the read binding’s responsibility (IBehaviorGraphDebuggerBinding).
- Pause globally; every operation is keyed to one follower id.
Members
Section titled “Members”IsPaused(int followerId)
Section titled “IsPaused(int followerId)”bool IsPaused(int followerId)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebugControl.cs:42
True when the follower is currently paused.
Pause(int followerId)
Section titled “Pause(int followerId)”void Pause(int followerId)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebugControl.cs:30
Pause this follower’s BT debug ticking only.
Resume(int followerId)
Section titled “Resume(int followerId)”void Resume(int followerId)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebugControl.cs:33
Resume this follower’s BT debug ticking.
Step(int followerId)
Section titled “Step(int followerId)”void Step(int followerId)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebugControl.cs:39
Grant one behavior tick to a paused follower, then return to paused. No-op when the follower is not paused.
SubscribeNodeEntered(int followerId, Action<int> onNodeEntered)
Section titled “SubscribeNodeEntered(int followerId, Action<int> onNodeEntered)”System.IDisposable SubscribeNodeEntered(int followerId, System.Action<int> onNodeEntered)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebugControl.cs:51
Register a callback for debug node-enter notifications for
this follower. The returnedIDisposableowns
the subscription; disposing it removes the callback. Implementations
only emit notifications from the high-detail / debug trace
path so the production tick stays allocation-free.
IBehaviorGraphDebuggerBinding
Section titled “IBehaviorGraphDebuggerBinding”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorGraphDebuggerBindingSource declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:45-110
Editor-side contract a runtime implements so the BT editor can read live state without taking a dependency on any Layer 3 type. Preserved verbatim per ; the only change is that the type now lives in its own file so the next iteration of the editor (User ) can delete the old debugger window without losing the contract.
Responsibilities (implementations):
- Look up the bound follower’sBehaviorRuntimeInstance on demand and return a copy inTryGetInstance.
- Hand back theBakedBehaviorArtifactthe follower is ticking against so the debugger can render the static graph view.
- Provide theBehaviorTraceHighDetailRegistrythe Layer 3 runtime owns so the debugger can activate / deactivate the high-detail tier and read recent ring entries.
- Resolve interned indices (node-id, field-id, service-id) back to the strings authored in Mermaid for display.
- Yield a snapshot of the watched blackboard slots and pending externals (the Layer 3 runtime knows the slot layout and authoring “watch” pins).
Implementations are required to be cheap to call once per editor frame and to be idempotent: the debugger refreshes without communication with the runtime beyond these calls.
Does NOT:
- Carry pause / resume / step controls; those live on the new IBehaviorGraphDebugControlsurface so the read binding stays a pure observer.
Members
Section titled “Members”Artifact
Section titled “Artifact”BitQuirky.Behavior.Baked.BakedBehaviorArtifact Artifact { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:67
The baked graph the follower is ticking against, or null if the follower has not yet bound a behavior.
DisplayName
Section titled “DisplayName”string DisplayName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:54
Human-readable name shown in the title bar (e.g. “CaveMan #9”).
FollowerId
Section titled “FollowerId”int FollowerId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:51
Stable id used by the debugger to identify the bound entity in the title bar and to key the high-detail ring activation.
HighDetailRegistry
Section titled “HighDetailRegistry”BitQuirky.Behavior.Diagnostics.BehaviorTraceHighDetailRegistry HighDetailRegistry { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:82
High-detail registry the Layer 3 runtime owns. The debugger activates / deactivates the bound id against this registry on open / close.
ServiceBindings
Section titled “ServiceBindings”BitQuirky.Behavior.Diagnostics.BehaviorTraceServiceBindings ServiceBindings { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:74
Service bindings the always-on trace projection consults to map pending-external slots into named pending-path / pending-anim fields.
ViewportPersistenceKey
Section titled “ViewportPersistenceKey”string ViewportPersistenceKey { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:61
Stable per-behavior key used for editor-only viewport preferences. Empty means viewport preferences are not persisted for this binding.
ReadBlackboardFields()
Section titled “ReadBlackboardFields()”System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorBlackboardFieldSnapshot> ReadBlackboardFields()Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:103
Snapshot of every blackboard slot in the bound runtime instance. Empty for static graph views and unbound windows.
ReadPendingExternals()
Section titled “ReadPendingExternals()”System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorPendingExternalSnapshot> ReadPendingExternals()Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:109
Snapshot of the bound follower’s currently-pending external commands. Empty when no commands are outstanding.
ReadWatchedFields()
Section titled “ReadWatchedFields()”System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorWatchedFieldSnapshot> ReadWatchedFields()Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:97
Snapshot of the author-pinned blackboard slots the debugger shows in the “Watched Values” panel. Empty when no slots are pinned for this graph.
TryGetInstance(out BehaviorRuntimeInstance instance)
Section titled “TryGetInstance(out BehaviorRuntimeInstance instance)”bool TryGetInstance(out BitQuirky.Behavior.Execution.BehaviorRuntimeInstance instance)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:90
Copy the bound follower’s runtime instance into
instance. Returns false when the follower
has been despawned or has not yet ticked.
IBehaviorHostedStateMachineLiveSource
Section titled “IBehaviorHostedStateMachineLiveSource”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorHostedStateMachineLiveSourceSource declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorHostedStateMachineLiveSource.cs:25-32
Additive capability a debugger binding may also implement to expose the bound instance’s
own currently materialized Hosted State Machine driver (FSM-013), so the live debugger can
surface a RunningHostedStateMachinenode’s own active state and terminal result,
distinctly from an ordinary Condition.
Responsibilities:
- Hand back the bound instance’s ownBehaviorHostedStateMachineRuntime, so the editor can read its active row’s own artifact and one-slot runtime instance.
This is a separate interface, mirroringIBehaviorLiveMemberSourceexactly, so every existingIBehaviorGraphDebuggerBindingimplementer keeps compiling unchanged; the editor tests for the capability and shows nothing when a binding does not offer it.
Does NOT:
- Own, tick, materialize, or dispose the driver, or participate in runtime execution.
Members
Section titled “Members”HostedStateMachine
Section titled “HostedStateMachine”BitQuirky.Behavior.Execution.BehaviorHostedStateMachineRuntime HostedStateMachine { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorHostedStateMachineLiveSource.cs:31
Gets the bound instance’s own Hosted State Machine driver, or null when the graph
authors noHostedStateMachinenode or the attachment is no longer valid.
IBehaviorLiveMemberSource
Section titled “IBehaviorLiveMemberSource”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorLiveMemberSourceSource declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorLiveMemberSource.cs:22-29
Additive capability a debugger binding may also implement to expose the live member snapshot and transaction surface of one running instance.
Responsibilities:
- Hand back the running member binding runtime so the editor can read immutable live member snapshots and submit one exact-type edit transaction at a time.
This is a separate interface so every existing IBehaviorGraphDebuggerBindingimplementer keeps compiling unchanged; the editor tests for the capability and shows nothing when a binding does not offer it.
Does NOT:
- Own, cache, format, or persist snapshots, or participate in runtime execution.
Members
Section titled “Members”LiveMemberCapability
Section titled “LiveMemberCapability”BitQuirky.Behavior.Member.IBehaviorLiveMemberCapability LiveMemberCapability { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorLiveMemberSource.cs:28
Gets the bound agent’s own live member capability, or null when the graph binds no surfaced member or the attachment is no longer valid.
IBehaviorLiveValueRowSource
Section titled “IBehaviorLiveValueRowSource”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorLiveValueRowSourceSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:529-533
Additive capability a debugger binding may also implement to report the selected running instance’s own graph-held Blackboard and Task values for the Behavior Tree inspector’s live value presenter .
Responsibilities (implementations):
- Enumerate every declared blackboard field and every Task node carrying a Float32 authored comparison constant, each as oneBehaviorLiveValueRowSnapshot.
This is a separate interface so every existingIBehaviorGraphDebuggerBinding implementer keeps compiling unchanged; the editor tests for the capability and shows nothing when a binding does not offer it.
Does NOT:
- Report a State row; the State Machine inspector ( Phase 6) owns that family.
Members
Section titled “Members”ReadLiveValueRows()
Section titled “ReadLiveValueRows()”System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorLiveValueRowSnapshot> ReadLiveValueRows()Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:532
Snapshot of every graph-held Blackboard and Task row this instance offers.
IBehaviorLiveValueSource
Section titled “IBehaviorLiveValueSource”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorLiveValueSourceSource declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorLiveValueSource.cs:23-30
Additive capability a debugger binding may also implement to expose the selected running instance’s own live value write route (, research.md R12).
Responsibilities:
- Hand back the running instance’s own live value capability, so the editor can submit one graph-held blackboard, Task, or State edit at a time.
This is a separate interface, mirroringIBehaviorLiveMemberSourceexactly, so every existingIBehaviorGraphDebuggerBindingimplementer keeps compiling unchanged; the editor tests for the capability and shows nothing when a binding does not offer it.
Does NOT:
- Own, cache, format, or persist a value, or participate in runtime execution.
Members
Section titled “Members”LiveValueCapability
Section titled “LiveValueCapability”BitQuirky.Behavior.Member.IBehaviorLiveValueCapability LiveValueCapability { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorLiveValueSource.cs:29
Gets the bound instance’s own live value capability, or null when the attachment is no longer valid.
IBehaviorLiveValueStateRowSource
Section titled “IBehaviorLiveValueStateRowSource”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorLiveValueStateRowSourceSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:553-560
Additive capability a debugger binding may also implement to report the selected running
State’s ownmin_active_secondsrow for the State Machine inspector’s live value
presenter ( Phase 6).
Responsibilities (implementations):
- Report the named baked State node’s own live-value-overlay-aware
min_active_secondsrow, keyed by the exact baked node index the State Machine inspector currently has selected.
This is a separate interface soIBehaviorLiveValueRowSource(Blackboard and Task) never reports a State row and the Behavior Tree inspector’s Live values section never shows one; the State Machine inspector consults this interface instead, scoped to whichever State is currently selected rather than every State in the graph at once.
Does NOT:
- Report a Blackboard or Task row;IBehaviorLiveValueRowSourceowns those.
Members
Section titled “Members”ReadStateLiveValueRow(int stateNodeIndex)
Section titled “ReadStateLiveValueRow(int stateNodeIndex)”BitQuirky.Behavior.Editor.BehaviorLiveValueRowSnapshot? ReadStateLiveValueRow(int stateNodeIndex)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:559
Snapshot of the named baked State node’s ownmin_active_secondsrow, or null
when the index is out of range or the node is not a State this instance can gate.
IBehaviorManagedBlackboardFieldSource
Section titled “IBehaviorManagedBlackboardFieldSource”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorManagedBlackboardFieldSourceSource declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:170-174
Additive live-debug capability that reads every managed companion value one running GameObject instance holds. Entity and Static bindings carry no companion and do not offer it.
Members
Section titled “Members”ReadManagedBlackboardFields()
Section titled “ReadManagedBlackboardFields()”System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorManagedBlackboardFieldSnapshot> ReadManagedBlackboardFields()Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:173
Reads the attached instance’s managed values in authored order, or none.
IBehaviorMemberRefEvaluationSource
Section titled “IBehaviorMemberRefEvaluationSource”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorMemberRefEvaluationSourceSource declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:157-164
Additive capability a debugger binding may also implement to report the live ref-parameter evaluation moments of one selected member operation.
Responsibilities (implementations):
- Report the pre-call read, post-call write, and completion outcome the last invocation of one ref-bearing method or member-condition operation observed, by index.
This is a separate interface so every existingIBehaviorGraphDebuggerBinding implementer keeps compiling unchanged; the editor tests for the capability and shows nothing when a binding does not offer it. The GameObject path is the only implementer: a ref parameter binds only on the GameObject path, because the pure-entity path’s documented by-value-only boundary admits no ref parameter shape, so the entity backend offers no ref evaluation to report.
Does NOT:
- Report a target-resolution reason, persist a reading, or exist outside a run.
Members
Section titled “Members”RefEvaluationReadingCount
Section titled “RefEvaluationReadingCount”int RefEvaluationReadingCount { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:160
Gets the number of live ref-parameter evaluation readings available.
ReadRefEvaluation(int index)
Section titled “ReadRefEvaluation(int index)”BitQuirky.Behavior.Member.BehaviorMemberRefEvaluationReading ReadRefEvaluation(int index)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:163
Reads one live ref-parameter evaluation reading by index.
IBehaviorMemberTargetReadingSource
Section titled “IBehaviorMemberTargetReadingSource”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorMemberTargetReadingSourceSource declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:127-137
Additive capability a debugger binding may also implement to report the live readings of blackboard-variable member targets.
Responsibilities (implementations):
- Report how many targets did not resolve on the last evaluation and hand back each reading’s graph, node, binding, variable, reason, required type, and held object.
This is a separate interface so every existing IBehaviorGraphDebuggerBindingimplementer keeps compiling unchanged; the editor tests for the capability and shows nothing when a binding does not offer it.
Does NOT:
- Report a bake verdict, persist a reading, or exist outside a run.
Members
Section titled “Members”MemberTargetReadingCount
Section titled “MemberTargetReadingCount”int MemberTargetReadingCount { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:133
Gets the number of live member target readings available.
UnresolvedMemberTargetCount
Section titled “UnresolvedMemberTargetCount”int UnresolvedMemberTargetCount { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:130
Gets how many member targets did not resolve on their last evaluation.
ReadMemberTargetReading(int index)
Section titled “ReadMemberTargetReading(int index)”BitQuirky.Behavior.Member.BehaviorMemberTargetReading ReadMemberTargetReading(int index)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:136
Reads one live member target reading by index.
IBehaviorNodeStatusCapability
Section titled “IBehaviorNodeStatusCapability”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorNodeStatusCapabilitySource declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorNodeStatusCapability.cs:24-37
Additive capability a debugger binding may also implement to expose one retained status per baked node, so the Live canvas can paint every node’s latest observed result (not just the cursor’s current leaf) identically on both object models (Principle III; AE-011).
Responsibilities:
- Supply the latest status vector and the deepest node executed in the latest tick.
This is a separate interface, mirroringIBehaviorHostedStateMachineLiveSource exactly, so every existingIBehaviorGraphDebuggerBindingimplementer keeps compiling unchanged; the editor tests for the capability and falls back to lighting only the active node when a binding does not offer it.
Does NOT:
- Change the source-compatible base debugger binding contract.
Members
Section titled “Members”DeepestExecutedNodeIndex
Section titled “DeepestExecutedNodeIndex”int DeepestExecutedNodeIndex { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorNodeStatusCapability.cs:36
Baked index of the deepest node reached in the latest tick, or a negative value when no node executed.
ReadNodeExecutionStatuses()
Section titled “ReadNodeExecutionStatuses()”System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus> ReadNodeExecutionStatuses()Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorNodeStatusCapability.cs:30
Latest retained status for every baked node, indexed by baked node index, so the canvas can tint every card from one read.
IBehaviorSharedNumericDebugCapability
Section titled “IBehaviorSharedNumericDebugCapability”Category: Low-level runtime
interface BitQuirky.Behavior.Editor.IBehaviorSharedNumericDebugCapabilitySource declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorSharedNumericDebugCapability.cs:27-44
Optional capability for aIBehaviorGraphDebuggerBindingwhose followed graph binds an explicitly injected IBehaviorSharedNumericSource, so the selected running graph’s debugger can identify that one field as shared rather than private and edit it through to the backing source.
This is a separate interface so every existingIBehaviorGraphDebuggerBinding implementer keeps compiling unchanged; the editor tests for the capability and shows nothing when a binding does not offer it.
Responsibilities:
- Report whether the followed graph binds a shared numeric field, and its current snapshot when it does.
- Write an edit through to the backing source so every subscriber, including this binding’s own cached copy, observes the change by the graph’s next tick.
Does NOT:
- Invent a shared value the graph binds none of, distinguish reset from any other
external edit, or serialize an edit into the
.bqbehaviorauthoring source or another instance’s private values.
Members
Section titled “Members”HasSharedNumericField
Section titled “HasSharedNumericField”bool HasSharedNumericField { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorSharedNumericDebugCapability.cs:30
Whether the followed graph currently binds a shared numeric field.
ReadSharedNumericField()
Section titled “ReadSharedNumericField()”BitQuirky.Behavior.Editor.BehaviorSharedNumericFieldSnapshot ReadSharedNumericField()Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorSharedNumericDebugCapability.cs:36
Gets the bound field’s current snapshot, or a default snapshot when HasSharedNumericFieldis false.
TryEditSharedNumericValue(float value)
Section titled “TryEditSharedNumericValue(float value)”bool TryEditSharedNumericValue(float value)Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorSharedNumericDebugCapability.cs:43
Writesvaluethrough to the backing source. Returns false without
effect when the followed graph binds no shared numeric field or the attachment is no
longer live.
InspectorHead
Section titled “InspectorHead”Category: Low-level runtime
class BitQuirky.Behavior.Editor.InspectorHeadSource declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:14-206
Inherits: VisualElement
Selected-object identity shared by the Behavior Tree and State Machine inspectors. Presents the family glyph, renameable authored name, and kind/binding context.
Members
Section titled “Members”Eyebrow
Section titled “Eyebrow”public string Eyebrow { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:95-99
The uppercase eyebrow above the name, such as Selected node.
public string Kind { get; private set; }Source declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:137
The kind words, as authored (lowercase); drawn as uppercase caps.
public string Meta { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:118-134
The meta line as one string, kind · sub: the first segment reads as the uppercase
kind caps, the rest as the sub. SetSetMetawhen both are known apart.
NodeName
Section titled “NodeName”public string NodeName { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:108-112
Name shown on the title line and edited in place by the rename affordance. Setting null clears it to the empty string.
public string Sub { get; private set; }Source declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:140
The sub fact after the kind, such as binds AiActions.OnSeekHouseCombat.
public BitQuirky.Graph.GraphView.Controls.RenameableTitle Title { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:102
The rename-capable title control the name line renders through.
RootClass
Section titled “RootClass”public const string RootClass = "ed-inspector-head"Source declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:17
Root USS class applied to the head element; stylesheets and tests key off it.
InspectorHead()
Section titled “InspectorHead()”public InspectorHead()Source declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:47-92
Builds the head: eyebrow, family chip with its accent ramp, the
rename-capable title, and the kind · sub meta line. Every text
slot starts empty and the meta line stays out of layout until a
kind or sub is set.
SetFamily(string familyModifierClass)
Section titled “SetFamily(string familyModifierClass)”public void SetFamily(string familyModifierClass)Source declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:156-173
Tints the glyph tile with one node family’s dome ramp, by the family modifier the
node card itself wears (for example ed-node-card--family-action).
SetGlyph(string assetPath)
Section titled “SetGlyph(string assetPath)”public void SetGlyph(string assetPath)Source declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:176-195
Replaces the family glyph with the icon at the given asset path. An empty path removes the glyph entirely.
SetMeta(string kind, string sub)
Section titled “SetMeta(string kind, string sub)”public void SetMeta(string kind, string sub)Source declaration: Packages/io.bitquirky.behavior/Editor/InspectorHead.cs:143-150
Sets the meta line’s kind caps and its sub fact.
ModeSelection
Section titled “ModeSelection”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeEditorToolbar.ModeSelectionSource declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:189-195
Underlying type: int
Which surface the toolbar’s mode switch has selected.
Members
Section titled “Members”Live = 1Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:194
The debugger surface, which follows a running graph read-only.
Static
Section titled “Static”Static = 0Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:192
The authoring surface, which edits the behavior source document.
NameEditState
Section titled “NameEditState”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeBlackboardVariablesSection.NameEditStateSource declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:46-62
Underlying type: int
The four states a variable name can be in while it is edited.
Members
Section titled “Members”AlreadyDeclared
Section titled “AlreadyDeclared”AlreadyDeclared = 2Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:55
The typed text is already declared; a go-to recovery is offered.
AlreadySurfaced
Section titled “AlreadySurfaced”AlreadySurfaced = 3Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:61
The typed text is a name a binding already surfaced; it is accepted, the declared name wins, and the surfaced entry takes its target prefix.
InvalidIdentifier
Section titled “InvalidIdentifier”InvalidIdentifier = 1Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:52
The typed text is not an identifier; the prior name is kept.
Valid = 0Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:49
The typed text is a valid, unclaimed identifier.
NewHostedBehaviorTreeSheet
Section titled “NewHostedBehaviorTreeSheet”Category: Low-level runtime
class BitQuirky.Behavior.Editor.NewHostedBehaviorTreeSheetSource declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:56-269
Inherits: VisualElement
In-window create sheet for a state’s new hosted Behavior Tree asset.
Responsibilities:
- Collect one editable asset name and project folder for the create, assign, and open step.
- Retain one immutable initiating target until the sheet is dismissed.
- Reject attempts to retarget an already-open sheet.
- Hold the canvas inert behind a scrim while the sheet is open, and cancel on a scrim click.
- Surface one create failure in place so an invalid or conflicting path keeps the typed values and its exact reason.
- Raise create and cancel intent without deciding either outcome.
Does NOT:
- Open an EditorWindow, create an asset, validate a path, assign a tree, mutate the source document, or hide itself when Create is pressed.
Members
Section titled “Members”IsOpen
Section titled “IsOpen”public bool IsOpen { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:136
Gets whether the sheet is currently displayed.
Canceled
Section titled “Canceled”public event System.Action<BitQuirky.Behavior.Editor.NewHostedBehaviorTreeTargetContext> CanceledSource declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:73
Raised when the user dismisses the sheet without creating anything.
CreateRequested
Section titled “CreateRequested”public event System.Action<BitQuirky.Behavior.Editor.NewHostedBehaviorTreeTargetContext, string, string> CreateRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:70
Raised with the requested asset name and project folder.
NewHostedBehaviorTreeSheet()
Section titled “NewHostedBehaviorTreeSheet()”public NewHostedBehaviorTreeSheet()Source declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:80-129
Creates the hidden create sheet.
Hide()
Section titled “Hide()”public void Hide()Source declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:173-177
Hides the sheet without raising create or cancel intent.
Show(NewHostedBehaviorTreeTargetContext targetContext, string stateName, string proposedName, string proposedFolder)
Section titled “Show(NewHostedBehaviorTreeTargetContext targetContext, string stateName, string proposedName, string proposedFolder)”public bool Show(BitQuirky.Behavior.Editor.NewHostedBehaviorTreeTargetContext targetContext, string stateName, string proposedName, string proposedFolder)Source declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:146-170
Shows the sheet seeded for one immutable target, clearing any prior failure.
Parameters
targetContext: Session and state that initiated this sheet.stateName: State the new tree is assigned to.proposedName: Asset name offered before the user edits it.proposedFolder: Project folder offered before the user edits it.
Returns
True when the sheet opened; false when an existing request stayed in place.
ShowFailure(string reason)
Section titled “ShowFailure(string reason)”public void ShowFailure(string reason)Source declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:181-188
Keeps the sheet open and states exactly why the create failed.
Parameters
reason: Failure sentence shown under the folder row.
NewHostedBehaviorTreeTargetContext
Section titled “NewHostedBehaviorTreeTargetContext”Category: Low-level runtime
class BitQuirky.Behavior.Editor.NewHostedBehaviorTreeTargetContextSource declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:19-38
Immutable identity of the state-machine editing target that opened a hosted-tree sheet.
Responsibilities:
- Keep the initiating session, asset path, state, and validation revision together.
- Let the owner reject a request after its session or source has changed.
Does NOT:
- Mutate an editing session, create an asset, or follow later editor selection.
Members
Section titled “Members”StateId
Section titled “StateId”public string StateId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:22
Gets the state that initiated the request.
NodeFamilySilhouette
Section titled “NodeFamilySilhouette”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.NodeFamilySilhouetteSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:15-30
Underlying type: int
Silhouette shape applied alongside the family color via a
ed-node-card--silhouette-* modifier class. The values match
the classes declared inNodeFamilies.uss.
Members
Section titled “Members”Condition
Section titled “Condition”Condition = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:25
Chamfered “condition” silhouette: distinct from generic rectangular cards .
Pill = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:18
Rounded pill: root / state nodes.
Rail = 3Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:29
Rail: subgraph reference, thicker left edge and reduced opacity per .
Rect = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:21
Rectangular card: composite / action nodes.
NodeFamilyTreatment
Section titled “NodeFamilyTreatment”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.NodeFamilyTreatmentSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:48-86
Bundles the family treatment information needed to render a BT node card: USS modifier class, accent token name, icon asset path, and silhouette modifier class.
Responsibilities:
- Carry the per-family decision so callers don’t reach into BakedNodeKindat render sites.
- Stay a plain immutable value type: no Unity calls, no editor dependencies beyond shared style class names and graph-package icon asset paths.
Does NOT:
- Render anything. The consumer applies these strings to a NodeView via ApplyFamilyModifiers + SetFamilyGlyphAssetPath.
Members
Section titled “Members”AccentTokenName
Section titled “AccentTokenName”public readonly string AccentTokenNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:55
Design-token name for the family accent color.
Caption
Section titled “Caption”public readonly string CaptionSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:59
Short family caption shown on the card eyebrow.
FamilyModifierClass
Section titled “FamilyModifierClass”public readonly string FamilyModifierClassSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:51
USS modifier applied to the card for the node family.
IconAssetPath
Section titled “IconAssetPath”public readonly string IconAssetPathSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:57
Asset path of the family glyph.
IsDecorator
Section titled “IsDecorator”public readonly bool IsDecoratorSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:63
Whether the family renders as a decorator stacked on its child rather than as a standalone card.
Silhouette
Section titled “Silhouette”public readonly BitQuirky.Behavior.Editor.NodeFamilySilhouette SilhouetteSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:61
Outline shape the card draws for the family.
SilhouetteModifierClass
Section titled “SilhouetteModifierClass”public readonly string SilhouetteModifierClassSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:53
USS modifier that selects the card outline shape.
NodeFamilyTreatment(string familyModifierClass, string silhouetteModifierClass, string accentTokenName, string iconAssetPath, string caption, NodeFamilySilhouette silhouette, bool isDecorator)
Section titled “NodeFamilyTreatment(string familyModifierClass, string silhouetteModifierClass, string accentTokenName, string iconAssetPath, string caption, NodeFamilySilhouette silhouette, bool isDecorator)”public NodeFamilyTreatment(string familyModifierClass, string silhouetteModifierClass, string accentTokenName, string iconAssetPath, string caption, BitQuirky.Behavior.Editor.NodeFamilySilhouette silhouette, bool isDecorator)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:69-85
Records one family’s complete render decision, so the consumer can apply it to a node view without consulting the baked node kind.
ProblemRow
Section titled “ProblemRow”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ProblemRowSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:153-169
One validation problem row.
Members
Section titled “Members”FixHint
Section titled “FixHint”public readonly string FixHintSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:160
Suggested repair shown under the message.
Message
Section titled “Message”public readonly string MessageSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:156
Author-facing description of the problem.
Subject
Section titled “Subject”public readonly string SubjectSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:158
Name of the element the problem is about.
ProblemRow(string message, string subject, string fixHint)
Section titled “ProblemRow(string message, string subject, string fixHint)”public ProblemRow(string message, string subject, string fixHint)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:163-168
Captures one validation problem: its message, the element it concerns, and the suggested repair.
RuntimeLifecycleSnapshot
Section titled “RuntimeLifecycleSnapshot”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.RuntimeLifecycleSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:385-434
The read-only lifecycle facts the Live Runtime card reports for the observed runtime: which group the shared scheduler selected, the one-based Active Update pass, and the exact state of a latched transition’s Exit handoff.
Responsibilities:
- Carry scheduler facts verbatim so the card owns every presented string.
Does NOT:
- Format anything, or describe authored source.
Members
Section titled “Members”public static BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.RuntimeLifecycleSnapshot None { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:427-433
The cleared card a detached or unattached runtime presents.
DestinationStateName
Section titled “DestinationStateName”public readonly string DestinationStateNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:397
The latched destination’s authored name, or empty.
ExitUpdatePending
Section titled “ExitUpdatePending”public readonly bool ExitUpdatePendingSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:400
A nonempty Exit group still owes its sole evaluation.
ExitUpdateSpent
Section titled “ExitUpdateSpent”public readonly bool ExitUpdateSpentSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:403
That sole Exit evaluation has been spent on the displayed update.
HasLatchedDestination
Section titled “HasLatchedDestination”public readonly bool HasLatchedDestinationSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:394
Whether a transition has latched exactly one destination.
public readonly string PhaseSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:388
The selected lifecycle group, as an ActionPhaseTokens value.
UpdatePass
Section titled “UpdatePass”public readonly uint UpdatePassSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:391
One-based Active Update pass identity; zero before the first pass.
RuntimeLifecycleSnapshot(string phase, uint updatePass, bool hasLatchedDestination, string destinationStateName, bool exitUpdatePending, bool exitUpdateSpent)
Section titled “RuntimeLifecycleSnapshot(string phase, uint updatePass, bool hasLatchedDestination, string destinationStateName, bool exitUpdatePending, bool exitUpdateSpent)”public RuntimeLifecycleSnapshot(string phase, uint updatePass, bool hasLatchedDestination, string destinationStateName, bool exitUpdatePending, bool exitUpdateSpent)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:410-424
Captures the scheduler facts the lifecycle card presents. A null phase or destination name becomes the empty string, so the card renders without null checks.
SelectionKind
Section titled “SelectionKind”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.SelectionKindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:172-185
Underlying type: int
Selection kinds the rail can compose.
Members
Section titled “Members”Action
Section titled “Action”Action = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:181
An action is selected, so the rail composes that action’s detail rows.
None = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:175
Nothing is selected, so the rail shows its empty state.
State = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:178
A state is selected, so the rail composes its action list and outgoing transitions.
Transition
Section titled “Transition”Transition = 3Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:184
A transition is selected, so the rail composes its trigger and condition editor.
SelectionSnapshot
Section titled “SelectionSnapshot”Category: Low-level runtime
class BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.SelectionSnapshotSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:207-372
Everything the selected composition needs.
Members
Section titled “Members”ActionGroupCount
Section titled “ActionGroupCount”public int ActionGroupCountSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:302
How many actions the selected action’s phase group holds.
ActionIssue
Section titled “ActionIssue”public BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ActionRowIssue ActionIssueSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:296
How the selected action blocks its machine, if at all.
ActionIssueText
Section titled “ActionIssueText”public string ActionIssueTextSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:298
Author-facing explanation of the selected action’s issue.
ActionName
Section titled “ActionName”public string ActionNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:246
Name of the selected action.
ActionPhase
Section titled “ActionPhase”public string ActionPhaseSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:294
Lifecycle phase the selected action belongs to.
ActionPositionInGroup
Section titled “ActionPositionInGroup”public int ActionPositionInGroupSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:300
Zero-based position of the selected action within its phase group.
Actions
Section titled “Actions”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ActionRow> ActionsSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:248
Action rows of the selected state, in authored order.
BehaviorName
Section titled “BehaviorName”public string BehaviorNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:292
Name of the hosted behavior the selected action runs.
Compatibility
Section titled “Compatibility”public BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.SourceCompatibility CompatibilitySource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:288
Whether the authored source is phased, legacy, or mid-upgrade.
Completion
Section titled “Completion”public string CompletionSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:222
Completion token the selected state uses when its actions finish.
CompletionResult
Section titled “CompletionResult”public string CompletionResultSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:224
Result token the selected state reports on a Finish completion.
ConditionName
Section titled “ConditionName”public string ConditionNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:318
Name of the condition guarding the selected transition.
EntryActionExecution
Section titled “EntryActionExecution”public string EntryActionExecutionSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:252
Whether the entry group runs its actions in sequence or in parallel.
EntryGroupStatus
Section titled “EntryGroupStatus”public BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus EntryGroupStatusSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:279
Runtime status of the entry group, and Resting outside Live.
ExecutionInterrupted
Section titled “ExecutionInterrupted”public bool ExecutionInterruptedSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:277
Whether the observed execution was cut short by a transition.
ExitActionExecution
Section titled “ExitActionExecution”public string ExitActionExecutionSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:258
Whether the exit group runs its actions in sequence or in parallel.
ExitGroupStatus
Section titled “ExitGroupStatus”public BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus ExitGroupStatusSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:283
Runtime status of the exit group, and Resting outside Live.
FromStateId
Section titled “FromStateId”public string FromStateIdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:312
Authored id of the selected transition’s source state.
FromStateName
Section titled “FromStateName”public string FromStateNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:310
Name of the selected transition’s source state.
GlobalTransitions
Section titled “GlobalTransitions”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.TransitionRow> GlobalTransitionsSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:244
Transitions on the Any State plate, in authored evaluation order.
HasCondition
Section titled “HasCondition”public bool HasConditionSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:320
Whether the selected transition is guarded by a condition at all.
HostedCompletedPassCount
Section titled “HostedCompletedPassCount”public int HostedCompletedPassCountSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:347
How many hosted passes have completed in the observed run.
HostedEventsAmbiguous
Section titled “HostedEventsAmbiguous”public bool HostedEventsAmbiguousSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:345
Whether the success and failure events cannot be told apart, which blocks the transition.
HostedFailureEventId
Section titled “HostedFailureEventId”public string HostedFailureEventIdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:343
Event raised when the hosted tree fails, and the empty string when none is authored.
HostedLifetime
Section titled “HostedLifetime”public string HostedLifetimeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:339
Whether the hosted tree repeats or runs once.
HostedResult
Section titled “HostedResult”public BitQuirky.Behavior.Execution.BehaviorResultCode HostedResultSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:349
Result the hosted tree last reported.
HostedResultHeld
Section titled “HostedResultHeld”public bool HostedResultHeldSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:353
Whether the hosted result is being held until the state is left.
HostedResultTick
Section titled “HostedResultTick”public int HostedResultTickSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:351
Tick the hosted result was reported on, and -1 before the first result.
HostedSuccessEventId
Section titled “HostedSuccessEventId”public string HostedSuccessEventIdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:341
Event raised when the hosted tree succeeds, and the empty string when none is authored.
HostedTreeAddress
Section titled “HostedTreeAddress”public string HostedTreeAddressSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:331
Subgraph address the hosted tree is referenced by.
HostedTreeFolder
Section titled “HostedTreeFolder”public string HostedTreeFolderSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:329
Folder the hosted tree asset lives in.
HostedTreeKind
Section titled “HostedTreeKind”public BitQuirky.Behavior.Editor.StateHostedTreeKind HostedTreeKindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:323
Whether the selected state hosts no tree, an inline tree, or a referenced one.
HostedTreeName
Section titled “HostedTreeName”public string HostedTreeNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:327
Name of the hosted tree.
HostedTreeResolves
Section titled “HostedTreeResolves”public bool HostedTreeResolvesSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:335
Whether the hosted tree reference resolves to an asset.
HostedTreeRootCaption
Section titled “HostedTreeRootCaption”public string HostedTreeRootCaptionSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:333
Caption shown on the hosted tree’s root card.
HostedTreeRootId
Section titled “HostedTreeRootId”public string HostedTreeRootIdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:325
Authored root node of the hosted tree.
IsAnyState
Section titled “IsAnyState”public bool IsAnyStateSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:220
Whether the selection is the Any State plate.
IsEntry
Section titled “IsEntry”public bool IsEntrySource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:218
Whether the selected state is the entry state.
IsLive
Section titled “IsLive”public bool IsLiveSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:275
Composed by read-only Live instead of Static authoring, so every group reports its runtime result and exposes no authoring affordance.
IsMachineReference
Section titled “IsMachineReference”public bool IsMachineReferenceSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:234
Whether the selection is a Referenced State Machine.
public BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.SelectionKind KindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:210
Which kind of element the selection covers.
MappedView
Section titled “MappedView”public string MappedViewSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:290
Name of the view a legacy list is mapped onto, and the empty string for phased source.
MetaLine
Section titled “MetaLine”public string MetaLineSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:216
Secondary identity line shown under the name.
MinActiveSeconds
Section titled “MinActiveSeconds”public string MinActiveSecondsSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:269
Authoredmin_active_secondssource value, and the empty string when the
State omits it. Absent and zero both mean the State never holds its transitions.
MinActiveSecondsDescriptor
Section titled “MinActiveSecondsDescriptor”public BitQuirky.Behavior.Nodes.BehaviorNodeParameterDescriptor MinActiveSecondsDescriptorSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:264
Registry descriptor of the selected State’smin_active_secondsparameter,
and null for every element whose kind does not register it (Entry, Any State, a
Referenced State Machine, an action, or a transition).
public string NameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:214
Authored name of the selected element.
NodeId
Section titled “NodeId”public string NodeIdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:212
Authored id of the selected element.
OutgoingTransitions
Section titled “OutgoingTransitions”public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.TransitionRow> OutgoingTransitionsSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:250
Transitions leaving the selected state, in authored evaluation order.
OwningStateId
Section titled “OwningStateId”public string OwningStateIdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:306
Authored id of the state that owns the selected action.
OwningStateIsEntry
Section titled “OwningStateIsEntry”public bool OwningStateIsEntrySource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:308
Whether that owning state is the entry state.
OwningStateName
Section titled “OwningStateName”public string OwningStateNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:304
Name of the state that owns the selected action.
RequiresFiniteUpdate
Section titled “RequiresFiniteUpdate”public bool RequiresFiniteUpdateSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:238
Whether the selected state’s update group must finish rather than repeat.
ToStateId
Section titled “ToStateId”public string ToStateIdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:316
Authored id of the selected transition’s destination state.
ToStateName
Section titled “ToStateName”public string ToStateNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:314
Name of the selected transition’s destination state.
TransitionEvaluation
Section titled “TransitionEvaluation”public string TransitionEvaluationSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:226
When the selected transition is evaluated.
TransitionEventId
Section titled “TransitionEventId”public string TransitionEventIdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:357
Event id the selected transition fires on.
TransitionEventResolves
Section titled “TransitionEventResolves”public bool TransitionEventResolvesSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:359
Whether that event id resolves in the graph.
TransitionKind
Section titled “TransitionKind”public string TransitionKindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:240
Whether the selected transition switches or pushes.
TransitionOnReturn
Section titled “TransitionOnReturn”public string TransitionOnReturnSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:242
What a pushed transition does when the pushed machine returns.
TransitionReentry
Section titled “TransitionReentry”public string TransitionReentrySource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:230
What the selected transition does when it re-enters its own state.
TransitionResult
Section titled “TransitionResult”public string TransitionResultSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:228
Result the selected transition requires from its source.
TransitionSourceIsAnyState
Section titled “TransitionSourceIsAnyState”public bool TransitionSourceIsAnyStateSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:232
Whether the selected transition leaves the Any State plate.
TransitionSourceIsReference
Section titled “TransitionSourceIsReference”public bool TransitionSourceIsReferenceSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:236
Whether the selected transition leaves a Referenced State Machine.
TransitionSourceStateName
Section titled “TransitionSourceStateName”public string TransitionSourceStateNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:361
Name of the state the selected transition is evaluated from.
TransitionUsesEvent
Section titled “TransitionUsesEvent”public bool TransitionUsesEventSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:355
Whether the selected transition fires on an event rather than a condition.
UpdateActionExecution
Section titled “UpdateActionExecution”public string UpdateActionExecutionSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:254
Whether the update group runs its actions in sequence or in parallel.
UpdateActionLifetime
Section titled “UpdateActionLifetime”public string UpdateActionLifetimeSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:256
Whether the update group repeats or runs once.
UpdateGroupStatus
Section titled “UpdateGroupStatus”public BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus UpdateGroupStatusSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:281
Runtime status of the update group, and Resting outside Live.
UpdatePass
Section titled “UpdatePass”public uint UpdatePassSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:286
One-based Active Update pass identity; zero before the first pass.
UsesHostedTreeSource
Section titled “UsesHostedTreeSource”public bool UsesHostedTreeSourceSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:337
Whether the state runs the hosted tree instead of its own action groups.
SourceCompatibility
Section titled “SourceCompatibility”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.SourceCompatibilitySource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:188-204
Underlying type: int
How the saved source stores the selected state’s action list.
Members
Section titled “Members”LegacyUnchanged
Section titled “LegacyUnchanged”LegacyUnchanged = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:194
A saved legacy list is mapped into Active Update and left unchanged.
LegacyUpgradeOnSave
Section titled “LegacyUpgradeOnSave”LegacyUpgradeOnSave = 2Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:197
An explicit upgrade was accepted and is waiting for its source commit.
Phased
Section titled “Phased”Phased = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:191
The state already stores explicit lifecycle groups.
PhasedSaved
Section titled “PhasedSaved”PhasedSaved = 3Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:203
A legacy list was converted and written as phased groups during this session, so the card confirms the completed write.
StateHostedBehaviorTreeModel
Section titled “StateHostedBehaviorTreeModel”Category: Low-level runtime
class BitQuirky.Behavior.Editor.StateHostedBehaviorTreeModelSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:99-569
Reads a state machine document’s state-hosted behavior tree contract for the editor.
Responsibilities:
- Locate the single hosted behavior tree root a state owns and classify how it is stored.
- Read and centralize the authored hosted lifetime and the optional Success and Failure result event identities.
- Report the result events a state exposes and the event one outgoing transition consumes.
Does NOT:
- Mutate the document, touch the asset database, or own presentation copy. Asset resolution arrives as a caller-supplied delegate so the model stays testable.
Members
Section titled “Members”ActionsUpdateSourceValue
Section titled “ActionsUpdateSourceValue”public const string ActionsUpdateSourceValue = "actions"Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:108-109
Authored Active Update source value selecting direct actions.
ActiveUpdateSourceKey
Section titled “ActiveUpdateSourceKey”public const string ActiveUpdateSourceKey = "active_update_source"Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:104-105
Authored parameter key selecting the state’s Active Update source.
BehaviorTreeUpdateSourceValue
Section titled “BehaviorTreeUpdateSourceValue”public const string BehaviorTreeUpdateSourceValue = "behavior_tree"Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:112-113
Authored Active Update source value selecting a hosted Behavior Tree.
DefaultInDocumentRootKind
Section titled “DefaultInDocumentRootKind”public const BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind DefaultInDocumentRootKind = SequenceSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:138-139
Default root for a newly created in-document tree. A Sequence gives the author an immediately useful ordered canvas without inventing an external asset or configuration.
HostFailureEventKey
Section titled “HostFailureEventKey”public const string HostFailureEventKey = "host_failure_event"Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:123-124
Authored parameter key exposing the hosted Failure result event.
HostLifetimeKey
Section titled “HostLifetimeKey”public const string HostLifetimeKey = "host_lifetime"Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:116
Authored parameter key selecting Once or Repeat for a hosted tree.
HostSuccessEventKey
Section titled “HostSuccessEventKey”public const string HostSuccessEventKey = "host_success_event"Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:119-120
Authored parameter key exposing the hosted Success result event.
OnceLifetimeValue
Section titled “OnceLifetimeValue”public const string OnceLifetimeValue = "once"Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:127
Authored value selecting a single hosted cycle.
RepeatLifetimeValue
Section titled “RepeatLifetimeValue”public const string RepeatLifetimeValue = "repeat"Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:130
Authored value selecting repeated hosted cycles.
AssetDisplayName(string address)
Section titled “AssetDisplayName(string address)”public static string AssetDisplayName(string address)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:372-380
Reads the file name a saved project address presents to the author.
AssetFolderPath(string address)
Section titled “AssetFolderPath(string address)”public static string AssetFolderPath(string address)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:383-391
Reads the project folder a saved project address presents to the author.
CanRootStateTree(BehaviorSourceNodeKind kind)
Section titled “CanRootStateTree(BehaviorSourceNodeKind kind)”public static bool CanRootStateTree(BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind kind)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:170-188
Gets whether a node kind may root a state’s hosted behavior tree.
CollectExposedEventIds(BehaviorSourceNode state)
Section titled “CollectExposedEventIds(BehaviorSourceNode state)”public static System.Collections.Generic.IReadOnlyList<string> CollectExposedEventIds(BitQuirky.Behavior.Authoring.BehaviorSourceNode state)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:481-495
Collects the result events one state exposes, in Success then Failure order. Only an exposed event is eligible to drive an outgoing transition.
FindContainmentChildIds(BehaviorSourceAst ast, string stateId)
Section titled “FindContainmentChildIds(BehaviorSourceAst ast, string stateId)”public static System.Collections.Generic.IReadOnlyList<string> FindContainmentChildIds(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string stateId)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:195-219
Collects every immediate containment child of a state in authored order. Transition nodes ride the state’s outgoing flow rather than its containment, so they never appear here.
FindTransitionSourceStateId(BehaviorSourceAst ast, string transitionId)
Section titled “FindTransitionSourceStateId(BehaviorSourceAst ast, string transitionId)”public static string FindTransitionSourceStateId(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string transitionId)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:498-520
Finds the state that owns one outgoing transition, or an empty id.
HasExplicitLifetime(BehaviorSourceNode state)
Section titled “HasExplicitLifetime(BehaviorSourceNode state)”public static bool HasExplicitLifetime(BitQuirky.Behavior.Authoring.BehaviorSourceNode state)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:410-413
Gets whether the state authored an explicit hosted lifetime.
InDocumentTreeDisplayName(string stateDisplayName)
Section titled “InDocumentTreeDisplayName(string stateDisplayName)”public static string InDocumentTreeDisplayName(string stateDisplayName)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:142-146
Builds the progressive navigation name for a state’s new inline tree.
IsInDocumentHostedRoot(BehaviorSourceAst ast, string stateId, string rootNodeId)
Section titled “IsInDocumentHostedRoot(BehaviorSourceAst ast, string stateId, string rootNodeId)”public static bool IsInDocumentHostedRoot(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string stateId, string rootNodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:153-165
Confirms that one state still owns the exact in-document root an open hosted-tree canvas names. This lets navigation survive ordinary edits while failing closed if Undo, Reload, or deletion removes or replaces that root.
IsStableEventId(string eventId)
Section titled “IsStableEventId(string eventId)”public static bool IsStableEventId(string eventId)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:448-471
Gets whether an event id is a stable identity the source format accepts. The editor checks the same shape the reader enforces so an author sees the fault before saving.
IsStateKind(BehaviorSourceNodeKind kind)
Section titled “IsStateKind(BehaviorSourceNodeKind kind)”public static bool IsStateKind(BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind kind)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:542-546
Gets whether a node kind is a state that can host a behavior tree.
IsUpdateAction(BehaviorSourceNode action)
Section titled “IsUpdateAction(BehaviorSourceNode action)”public static bool IsUpdateAction(BitQuirky.Behavior.Authoring.BehaviorSourceNode action)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:282-291
Gets whether one direct action belongs to Active Update. Legacy actions without an explicit lifecycle phase remain Update actions.
ReadFailureEventId(BehaviorSourceNode state)
Section titled “ReadFailureEventId(BehaviorSourceNode state)”public static string ReadFailureEventId(BitQuirky.Behavior.Authoring.BehaviorSourceNode state)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:422-425
Reads the exposed hosted Failure result event, or an empty id.
ReadHostedTree(BehaviorSourceAst ast, string stateId, Func<string, bool> assetAddressResolves)
Section titled “ReadHostedTree(BehaviorSourceAst ast, string stateId, Func<string, bool> assetAddressResolves)”public static BitQuirky.Behavior.Editor.StateHostedTreeInfo ReadHostedTree(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string stateId, System.Func<string, bool> assetAddressResolves)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:298-309
Reads one state’s hosted behavior tree through a simple existence predicate. Legacy callers that do not resolve stable identities to current paths retain their existing path-based presentation.
ReadHostedTree(BehaviorSourceAst ast, string stateId, Func<string, string> assetAddressToPath)
Section titled “ReadHostedTree(BehaviorSourceAst ast, string stateId, Func<string, string> assetAddressToPath)”public static BitQuirky.Behavior.Editor.StateHostedTreeInfo ReadHostedTree(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string stateId, System.Func<string, string> assetAddressToPath)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:316-369
Reads one state’s hosted behavior tree.assetAddressToPath
resolves a saved stable GUID or legacy address to its current project-relative path.
A null resolver treats every saved address as unresolved.
ReadLifetime(BehaviorSourceNode state)
Section titled “ReadLifetime(BehaviorSourceNode state)”public static string ReadLifetime(BitQuirky.Behavior.Authoring.BehaviorSourceNode state)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:401-407
Reads the authored hosted lifetime. An omitted setting preserves Repeat, which is the behavior every graph authored before the setting existed already had.
ReadParameter(BehaviorSourceNode node, string key)
Section titled “ReadParameter(BehaviorSourceNode node, string key)”public static string ReadParameter(BitQuirky.Behavior.Authoring.BehaviorSourceNode node, string key)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:428-442
Reads one authored semantic parameter, or an empty string.
ReadSuccessEventId(BehaviorSourceNode state)
Section titled “ReadSuccessEventId(BehaviorSourceNode state)”public static string ReadSuccessEventId(BitQuirky.Behavior.Authoring.BehaviorSourceNode state)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:416-419
Reads the exposed hosted Success result event, or an empty id.
ReadTransitionEventId(BehaviorSourceAst ast, string transitionId)
Section titled “ReadTransitionEventId(BehaviorSourceAst ast, string transitionId)”public static string ReadTransitionEventId(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string transitionId)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:523-539
Reads the hosted result event one transition consumes, or an empty id.
TryFindHostedRootId(BehaviorSourceAst ast, string stateId, out string rootNodeId)
Section titled “TryFindHostedRootId(BehaviorSourceAst ast, string stateId, out string rootNodeId)”public static bool TryFindHostedRootId(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string stateId, out string rootNodeId)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:226-254
Finds the single non-action hosted behavior tree root a state owns. Entry and Exit actions are independent lifecycle children and do not make the hosted assignment ambiguous. Direct Update actions are checked separately by source validation.
UsesBehaviorTreeSource(BehaviorSourceAst ast, string stateId)
Section titled “UsesBehaviorTreeSource(BehaviorSourceAst ast, string stateId)”public static bool UsesBehaviorTreeSource(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string stateId)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:260-276
Gets whether a state’s hosted Behavior Tree is the active Update source. Explicit source state wins; legacy source omitting the parameter remains topology-driven.
StateHostedTreeInfo
Section titled “StateHostedTreeInfo”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.StateHostedTreeInfoSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:36-82
Everything the State Machine rail needs to present one state’s hosted behavior tree.
Responsibilities:
- Carry the hosted root identity, its storage kind, the assigned project asset’s stable address, resolved path, persisted display name, folder, and resolution status.
Does NOT:
- Read the asset database, mutate source, or decide presentation copy.
Members
Section titled “Members”AssetAddress
Section titled “AssetAddress”public readonly string AssetAddressSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:48
Saved stable GUID or legacy project-relative address of the assigned asset.
AssetPath
Section titled “AssetPath”public readonly string AssetPathSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:51
Currently resolved project-relative asset path, or empty when missing.
AssetResolves
Section titled “AssetResolves”public readonly bool AssetResolvesSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:60
Whether the saved asset identity still resolves to a project asset.
DisplayName
Section titled “DisplayName”public readonly string DisplayNameSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:54
Persisted display name for the hosted tree.
FolderPath
Section titled “FolderPath”public readonly string FolderPathSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:57
Current project folder holding the assigned asset, or empty.
public readonly BitQuirky.Behavior.Editor.StateHostedTreeKind KindSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:39
How the hosted root is stored, if the state hosts one at all.
RootKind
Section titled “RootKind”public readonly BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind RootKindSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:45
Authored kind of the hosted root node.
RootNodeId
Section titled “RootNodeId”public readonly string RootNodeIdSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:42
Stable source id of the hosted root node, or empty.
StateHostedTreeInfo(StateHostedTreeKind kind, string rootNodeId, BehaviorSourceNodeKind rootKind, string assetAddress, string assetPath, string displayName, string folderPath, bool assetResolves)
Section titled “StateHostedTreeInfo(StateHostedTreeKind kind, string rootNodeId, BehaviorSourceNodeKind rootKind, string assetAddress, string assetPath, string displayName, string folderPath, bool assetResolves)”public StateHostedTreeInfo(BitQuirky.Behavior.Editor.StateHostedTreeKind kind, string rootNodeId, BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind rootKind, string assetAddress, string assetPath, string displayName, string folderPath, bool assetResolves)Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:63-81
Creates one hosted-tree reading.
StateHostedTreeKind
Section titled “StateHostedTreeKind”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.StateHostedTreeKindSource declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:14-24
Underlying type: int
How a state’s Active Update hosted behavior tree is stored.
Members
Section titled “Members”InDocument
Section titled “InDocument”InDocument = 2Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:23
The hosted root is authored inside this same document.
None = 0Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:17
The state owns no hosted behavior tree root.
ProjectAsset
Section titled “ProjectAsset”ProjectAsset = 1Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:20
The hosted root is a reference to a separate behavior tree project asset.
StateMachineActionBindingChoice
Section titled “StateMachineActionBindingChoice”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.StateMachineActionBindingChoiceSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:306-368
One real operation route supplied to the State Machine lifecycle picker.
Members
Section titled “Members”BindingKind
Section titled “BindingKind”public BitQuirky.Behavior.Editor.StateMachineActionBindingKind BindingKind { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:358
Gets whether a service operation completes immediately or by completion.
ChoiceKind
Section titled “ChoiceKind”public BitQuirky.Behavior.Editor.StateMachineActionChoiceKind ChoiceKind { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:352
Gets whether this route authors a member or invokes a service adapter.
DisplayName
Section titled “DisplayName”public string DisplayName { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:364
Gets the honest row label shown before any real member is selected.
IdentityToken
Section titled “IdentityToken”public string IdentityToken { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:367
Gets the stable picker identity used for selection and deduplication.
OperationKind
Section titled “OperationKind”public BitQuirky.Behavior.Authoring.BehaviorSourceMemberOperationKind OperationKind { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:361
Gets the shared member operation family, or Unknown for a service.
ServiceToken
Section titled “ServiceToken”public string ServiceToken { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:355
Gets the exact declared service token, or empty for a member route.
StateMachineActionBindingChoice(string serviceToken, StateMachineActionBindingKind bindingKind)
Section titled “StateMachineActionBindingChoice(string serviceToken, StateMachineActionBindingKind bindingKind)”public StateMachineActionBindingChoice(string serviceToken, BitQuirky.Behavior.Editor.StateMachineActionBindingKind bindingKind)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:309-319
Creates one declared service choice with its completion contract.
MemberOperation(BehaviorSourceMemberOperationKind operationKind)
Section titled “MemberOperation(BehaviorSourceMemberOperationKind operationKind)”public static BitQuirky.Behavior.Editor.StateMachineActionBindingChoice MemberOperation(BitQuirky.Behavior.Authoring.BehaviorSourceMemberOperationKind operationKind)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:338-349
Creates one shared member-operation authoring route.
StateMachineActionBindingKind
Section titled “StateMachineActionBindingKind”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.StateMachineActionBindingKindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:11-18
Underlying type: int
How a service-backed State Machine action reports completion.
Members
Section titled “Members”Deferred
Section titled “Deferred”Deferred = 1Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:17
The action waits for the service’s explicit completion.
Immediate
Section titled “Immediate”Immediate = 0Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:14
The service command completes when it is emitted.
StateMachineActionBindingRequest
Section titled “StateMachineActionBindingRequest”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.StateMachineActionBindingRequestSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:371-404
Immutable operation choice made from the State Machine lifecycle picker.
Members
Section titled “Members”ActionId
Section titled “ActionId”public string ActionId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:391
Gets the existing operation ID, or empty when assigning one.
BindingKind
Section titled “BindingKind”public BitQuirky.Behavior.Editor.StateMachineActionBindingKind BindingKind { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:400
Gets the selected service completion contract.
ChoiceKind
Section titled “ChoiceKind”public BitQuirky.Behavior.Editor.StateMachineActionChoiceKind ChoiceKind { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:394
Gets whether the selection is a member route or service adapter.
OperationKind
Section titled “OperationKind”public BitQuirky.Behavior.Authoring.BehaviorSourceMemberOperationKind OperationKind { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:403
Gets the selected member operation family.
ServiceToken
Section titled “ServiceToken”public string ServiceToken { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:397
Gets the selected service token, or empty for a member route.
StateId
Section titled “StateId”public string StateId { get; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:388
Gets the state that owns the operation.
StateMachineActionBindingRequest(string stateId, string actionId, StateMachineActionBindingChoice choice)
Section titled “StateMachineActionBindingRequest(string stateId, string actionId, StateMachineActionBindingChoice choice)”public StateMachineActionBindingRequest(string stateId, string actionId, BitQuirky.Behavior.Editor.StateMachineActionBindingChoice choice)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:374-385
Creates one immutable lifecycle-operation request.
StateMachineActionChoiceKind
Section titled “StateMachineActionChoiceKind”Category: Low-level runtime
enum BitQuirky.Behavior.Editor.StateMachineActionChoiceKindSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:296-303
Underlying type: int
How one State Machine lifecycle choice resolves its executable operation.
Members
Section titled “Members”MemberOperation
Section titled “MemberOperation”MemberOperation = 1Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:302
A shared member operation authored through the existing member picker.
ServiceAdapter
Section titled “ServiceAdapter”ServiceAdapter = 0Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:299
A declared external service adapter.
StateMachineActionPickerPopover
Section titled “StateMachineActionPickerPopover”Category: Low-level runtime
class BitQuirky.Behavior.Editor.StateMachineActionPickerPopoverSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:419-758
Searchable behavior picker anchored to a State Machine action field.
Responsibilities:
- List only real operations supplied by the caller, deduplicated by service identity.
- Name the lifecycle group a caller anchors the picker to, and show that caller’s sentence saying when the group runs.
- Complete creation or rebinding from one row activation.
Does NOT:
- Derive an operation from state presentation, apply a second confirmation, or mutate source.
- Decide which lifecycle group a row belongs to or compose that group’s wording.
Members
Section titled “Members”BindingRequested
Section titled “BindingRequested”public event System.Action<BitQuirky.Behavior.Editor.StateMachineActionBindingRequest> BindingRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:444
Raised when one available behavior is chosen.
StateMachineActionPickerPopover()
Section titled “StateMachineActionPickerPopover()”public StateMachineActionPickerPopover()Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:506-538
Creates the anchored behavior picker.
BuildChoices(IReadOnlyList<string> declaredServices)
Section titled “BuildChoices(IReadOnlyList<string> declaredServices)”public static System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.StateMachineActionBindingChoice> BuildChoices(System.Collections.Generic.IReadOnlyList<string> declaredServices)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:451-485
Builds the primary shared member routes followed by deduplicated declared service adapters. State presentation never participates, so no display-name operation can be fabricated here.
Open(VisualElement panelRoot, VisualElement anchor, string stateId, string stateDisplayName, string actionId, string committedChoice, IReadOnlyList<StateMachineActionBindingChoice> choices, string groupDisplayName, string footerSentence)
Section titled “Open(VisualElement panelRoot, VisualElement anchor, string stateId, string stateDisplayName, string actionId, string committedChoice, IReadOnlyList<StateMachineActionBindingChoice> choices, string groupDisplayName, string footerSentence)”public void Open(UnityEngine.UIElements.VisualElement panelRoot, UnityEngine.UIElements.VisualElement anchor, string stateId, string stateDisplayName, string actionId, string committedChoice, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.StateMachineActionBindingChoice> choices, string groupDisplayName = null, string footerSentence = null)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:543-586
Opens the picker for a missing or existing service-backed action.
TryChooseForTest(string identityToken)
Section titled “TryChooseForTest(string identityToken)”public bool TryChooseForTest(string identityToken)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:488-503
Chooses one visible row through the same commitment path as pointer input.
StateMachineAddPopover
Section titled “StateMachineAddPopover”Category: Low-level runtime
class BitQuirky.Behavior.Editor.StateMachineAddPopoverSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:24-293
Name-first creation picker for State Machine authoring.
Responsibilities:
- Collect a valid name before requesting a state or reference.
- Keep Any State a separate, unnamed singleton action.
- Retain entered text and explain refused creation without mutating the document.
Does NOT:
- Mutate source, name a referenced asset, or search operation catalogues.
Members
Section titled “Members”NameRefusal
Section titled “NameRefusal”public System.Func<BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind, string, string> NameRefusal { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:75
Returns the owner’s name refusal, or null when creation may proceed.
AnyStateRequested
Section titled “AnyStateRequested”public event System.Action<UnityEngine.Vector2> AnyStateRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:69
Raised with the position of the machine’s unnamed Any State plate.
ReferenceRequested
Section titled “ReferenceRequested”public event System.Action<UnityEngine.Vector2, string> ReferenceRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:72
Raised with the position and validated name of a requested reference.
StateRequested
Section titled “StateRequested”public event System.Action<UnityEngine.Vector2, string> StateRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:66
Raised with the position and validated name of a requested state.
StateMachineAddPopover()
Section titled “StateMachineAddPopover()”public StateMachineAddPopover()Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:78-130
Creates the State Machine named-element picker.
Close()
Section titled “Close()”public void Close()Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:168-171
Closes without creating anything; successful owners also close here.
Open(VisualElement panelRoot, VisualElement anchor, Vector2 canvasPosition, bool hasAnyState, bool stateOnly)
Section titled “Open(VisualElement panelRoot, VisualElement anchor, Vector2 canvasPosition, bool hasAnyState, bool stateOnly)”public void Open(UnityEngine.UIElements.VisualElement panelRoot, UnityEngine.UIElements.VisualElement anchor, UnityEngine.Vector2 canvasPosition, bool hasAnyState = false, bool stateOnly = false)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:135-165
Collects a name at the invocation point without creating an element.
ShowFailure(string reason)
Section titled “ShowFailure(string reason)”public void ShowFailure(string reason)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:174-178
Keeps the entered name and displays why creation was refused.
StateMachineFirstUseCard
Section titled “StateMachineFirstUseCard”Category: Low-level runtime
class BitQuirky.Behavior.Editor.StateMachineFirstUseCardSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineFirstUseCard.cs:19-80
Inherits: VisualElement
First-use prompt for an empty State Machine document.
Responsibilities:
- Explain why the empty machine cannot run and offer its first state.
- Surface one user intent event without mutating the source document.
Does NOT:
- Create a state, choose a behavior, or persist an asset.
Members
Section titled “Members”StateRequested
Section titled “StateRequested”public event System.Action StateRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineFirstUseCard.cs:27
Raised when the user requests the first state.
StateMachineFirstUseCard()
Section titled “StateMachineFirstUseCard()”public StateMachineFirstUseCard()Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineFirstUseCard.cs:30-73
Creates the empty-machine prompt.
SetVisible(bool visible)
Section titled “SetVisible(bool visible)”public void SetVisible(bool visible)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineFirstUseCard.cs:76-79
Shows or hides the prompt without changing its document.
StateMachineReferenceEditor
Section titled “StateMachineReferenceEditor”Category: Low-level runtime
class BitQuirky.Behavior.Editor.StateMachineReferenceEditorSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:68-1130
Inherits: VisualElement
Complete candidate/default authoring surface for one Referenced State Machine.
Responsibilities:
- Discover project State Machine assets and author ordered candidates, the optional unconditional Default, module assignment, Eligibility, and typed declared-value overrides.
- Preserve and name unresolved, cyclic, and invalid saved source for explicit recovery.
- In Live, omit every authoring command and hold retained values in the shared read-only state while showing the active candidate, phase, result, suspension depth, or truthful parked state beside retained source settings. Open stays, because it only navigates.
- RaiseOpenModuleRequestedwith the shared module path; never copy a module.
Does NOT:
- Create reference canvas nodes, own the inspector, open editor tabs, edit module source, or refresh the window after a session command.
Members
Section titled “Members”OpenModuleRequested
Section titled “OpenModuleRequested”public event System.Action<string> OpenModuleRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:93
Raised with the resolved shared module asset path the host must open.
VariablePickerRequested
Section titled “VariablePickerRequested”public event System.Action<UnityEngine.UIElements.VisualElement, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate>, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity, System.Action<string>> VariablePickerRequestedSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:98-102
Relays the shared typed blackboard-variable picker request used by Eligibility.
StateMachineReferenceEditor()
Section titled “StateMachineReferenceEditor()”public StateMachineReferenceEditor()Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:105-120
Creates the reusable selected-reference authoring surface.
Bind(BehaviorTreeEditingSession session, string referenceNodeId, string hostAssetPath, StateMachineReferenceLiveData liveData)
Section titled “Bind(BehaviorTreeEditingSession session, string referenceNodeId, string hostAssetPath, StateMachineReferenceLiveData liveData)”public void Bind(BitQuirky.Behavior.Editor.BehaviorTreeEditingSession session, string referenceNodeId, string hostAssetPath, BitQuirky.Behavior.Editor.StateMachineReferenceLiveData liveData = null)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:127-146
Binds the current source authority. Passing null Live data authors Static source; passing Live data keeps the same source visible, omits editing commands, and holds retained values read-only.
BindLive(BehaviorSourceAst ast, string referenceNodeId, string hostAssetPath, StateMachineReferenceLiveData liveData)
Section titled “BindLive(BehaviorSourceAst ast, string referenceNodeId, string hostAssetPath, StateMachineReferenceLiveData liveData)”public void BindLive(BitQuirky.Behavior.Authoring.BehaviorSourceAst ast, string referenceNodeId, string hostAssetPath, BitQuirky.Behavior.Editor.StateMachineReferenceLiveData liveData)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:153-172
Binds the editor’s existing parsed Live source projection without creating an editing session or a second source authority. Every authored setting remains visible; editing commands are omitted and retained values are held read-only.
UpdateLive(StateMachineReferenceLiveData liveData)
Section titled “UpdateLive(StateMachineReferenceLiveData liveData)”public void UpdateLive(BitQuirky.Behavior.Editor.StateMachineReferenceLiveData liveData)Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:175-186
Updates only the Live projection while retaining the bound source authority.
StateMachineReferenceLiveData
Section titled “StateMachineReferenceLiveData”Category: Low-level runtime
class BitQuirky.Behavior.Editor.StateMachineReferenceLiveDataSource declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:32-50
Optional Live projection supplied toStateMachineReferenceEditor.
Responsibilities:
- Carry the referenced-machine trace fields plus the source candidate identity already resolved by the host artifact.
Does NOT:
- Mutate runtime state or infer a candidate when the trace reports none.
Members
Section titled “Members”ActiveCandidateNodeId
Section titled “ActiveCandidateNodeId”public string ActiveCandidateNodeId { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:35
Source id of the active candidate, or empty while parked/outside.
ActiveMachineIndex
Section titled “ActiveMachineIndex”public int ActiveMachineIndex { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:43
Index of the machine currently executing.
ActiveStateMachineCandidateIndex
Section titled “ActiveStateMachineCandidateIndex”public int ActiveStateMachineCandidateIndex { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:41
Baked index of the active candidate, or -1 while parked or outside.
ActiveStateMachineReferenceIndex
Section titled “ActiveStateMachineReferenceIndex”public int ActiveStateMachineReferenceIndex { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:39
Baked index of the active Referenced State Machine node, or -1 while none is active.
MachineFinished
Section titled “MachineFinished”public int MachineFinished { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:37
Non-zero once the hosted machine has stopped, including a Return with no result.
NestedMachinePhase
Section titled “NestedMachinePhase”public int NestedMachinePhase { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:45
Current nested machine lifecycle phase, as a BehaviorNestedMachinePhase value.
NestedMachineResult
Section titled “NestedMachineResult”public int NestedMachineResult { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:47
Last nested machine result, as a BehaviorMachineResult value.
SuspensionDepth
Section titled “SuspensionDepth”public int SuspensionDepth { get; set; }Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:49
Current Push suspension depth; zero when nothing is suspended.
StateRow
Section titled “StateRow”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.StateRowSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:57-76
One row in the States section.
Members
Section titled “Members”ActionName
Section titled “ActionName”public readonly string ActionNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:66
Name of the state’s representative action, and the empty string when it has none.
public readonly string IdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:60
Authored id of the state.
IsEntry
Section titled “IsEntry”public readonly bool IsEntrySource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:64
Whether the state is the machine’s entry state.
public readonly string NameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:62
Authored name shown in the row.
StateRow(string id, string name, bool isEntry, string actionName)
Section titled “StateRow(string id, string name, bool isEntry, string actionName)”public StateRow(string id, string name, bool isEntry, string actionName)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:69-75
Captures one state’s identity, name, entry flag, and representative action name.
TransitionRow
Section titled “TransitionRow”Category: Low-level runtime
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.TransitionRowSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:79-98
One outgoing transition in authored evaluation order.
Members
Section titled “Members”DestinationName
Section titled “DestinationName”public readonly string DestinationNameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:86
Name of the state the transition leads to.
public readonly string IdSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:82
Authored id of the transition.
public readonly string KindSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:88
Transition kind token shown as the row badge.
public readonly string NameSource declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:84
Authored name shown in the row.
TransitionRow(string id, string name, string destinationName, string kind)
Section titled “TransitionRow(string id, string name, string destinationName, string kind)”public TransitionRow(string id, string name, string destinationName, string kind)Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:91-97
Captures one transition’s identity, name, destination state name, and kind badge.
Source fingerprint: sha256:29003d8b1658b98a79bebcd93e3b4030caf8511268b96817ab764d63df8d6c3b