Skip to content
Bit Quirky Behavior Trees and
State Machines

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or enter a complete API identifier.

Browse the reference instead

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

v0.11.0
Menu

BitQuirky.Behavior.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

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ActionRow

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:101-137

One ordered action row in a selected state or Live state card.

C#
public readonly string Id

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:104

Authored id of the action.

C#
public readonly BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ActionRowIssue Issue

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:112

How the action blocks its machine, if at all.

C#
public readonly string IssueText

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:114

Author-facing explanation of the issue, and the empty string when there is none.

C#
public readonly string Name

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:106

Authored name shown in the row.

C#
public readonly string Phase

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:110

Lifecycle phase token the action belongs to; an empty phase becomes Update.

C#
public readonly BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus Status

Source 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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ActionRowIssue

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:140-150

Underlying type: int

How one authored action row blocks its machine, if at all.

C#
Broken = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:149

The saved behavior reference does not resolve.

C#
Invalid = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:146

The authored value is kept verbatim but incomplete.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:143

The row resolves and bakes.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorAgentMemberTargetReadingSource

Source 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.

C#
public int MemberTargetReadingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:205

Gets the number of live member target readings available.

C#
public int RefEvaluationReadingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:215

Gets the number of live ref-parameter evaluation readings available.

C#
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)”
C#
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.

C#
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.

C#
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.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Editor.BehaviorBlackboardFieldSnapshot

Source 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.

C#
public string DisplayValue

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:65

Current value already formatted for display.

C#
public string FieldName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:59

Author-facing field name.

C#
public int FieldNameInternedIndex

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:57

Interned-name index of the field in the baked artifact.

C#
public string FullDisplayValue

Source 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.

C#
public bool IsNonValue

Source 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.

C#
public BitQuirky.Behavior.Baked.BakedAuthorityContext OwnerAuthority

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:63

Authority context that owns the field.

C#
public BitQuirky.Behavior.Baked.BakedFieldTypeCode TypeCode

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:61

Baked storage type of the field.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditKind

Source 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.

C#
AddEntry = 8

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:48

Append one dictionary entry after every authored entry.

C#
InsertElement = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:30

Insert one element at an exact authored position.

C#
InsertEntry = 9

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:51

Insert one dictionary entry at an exact authored position.

C#
MoveElement = 4

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:36

Move one element to a new authored position.

C#
RemoveElement = 3

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:33

Remove one element, keeping the order of the rest.

C#
RemoveEntry = 11

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:57

Remove one dictionary entry, keeping the order of the rest.

C#
ReplaceEntry = 10

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:54

Replace one dictionary entry in its authored position.

C#
SetCollectionEmpty = 7

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:45

Set a collection to zero elements, which is not the none state.

C#
SetCollectionNone = 6

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:42

Set a collection to the explicit none state.

C#
SetElement = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:27

Replace one ordered element’s payload in place.

C#
SetLength = 5

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:39

Set an authored collection’s length.

C#
SetValue = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:24

Replace a single-shape value’s whole canonical payload.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest

Source 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.

C#
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.

C#
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.

C#
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.

C#
public int Length { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:104

Gets the requested collection length, or -1.

C#
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.

C#
public int ToIndex { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:101

Gets the destination index of a move, or -1.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorDebugTickControlAdapter

Source 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.

BehaviorDebugTickControlAdapter(BehaviorDebugTickControl control)

Section titled “BehaviorDebugTickControlAdapter(BehaviorDebugTickControl control)”
C#
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.

C#
public bool IsPaused(int followerId)

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorDebugTickControlAdapter.cs:64

Whether the given follower is currently held paused.

C#
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.

C#
public void Resume(int followerId)

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorDebugTickControlAdapter.cs:58

Resumes ticking for a paused follower.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorEditorIssue

Source 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.

C#
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”).

C#
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).

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorEditorIssueDomain

Source 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.

C#
Blackboard = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:19

A blackboard fault (“N blackboard issues”).

C#
GraphValidation = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:21

A graph edit-validation violation (“N issues”).

C#
LiveTarget = 3

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:23

An amber live target reading (“N targets unresolved”).

C#
MemberBinding = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorIssuePresenter.cs:17

A member binding bake diagnostic (“N binding issues”).

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorEditorIssuePresenter

Source 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.

C#
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.

C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorEditorWindowBackend

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:11-128

Implements: IBehaviorEditorWindowBackend

Plain presentation controller. Only Owner participates in Unity serialization.

C#
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.

C#
public bool docked { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:29

Gets whether the stable owner is docked.

C#
public bool hasFocus { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:27

Gets whether the stable owner currently has keyboard focus.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
public UnityEngine.UIElements.VisualElement rootVisualElement { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:17

Gets the stable owner’s root visual element.

C#
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.

C#
public void Close()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:39

Closes the stable owner through Unity’s window lifecycle.

C#
public virtual void CreateGUI()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:58

Builds the stable owner’s retained-mode visual tree.

C#
public static T CreateInstance<T>() where T : BitQuirky.Behavior.Editor.BehaviorEditorWindowBackend

Source 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)”
C#
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.

C#
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.

C#
public static T[] FindWindows<T>() where T : BitQuirky.Behavior.Editor.BehaviorEditorWindowBackend

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:100-113

Finds the presentations of all loaded stable owners of the requested type.

C#
public void Focus()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:37

Gives keyboard focus to the stable owner.

C#
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)”
C#
public static T GetWindow<T>(string title, bool focus, params System.Type[] desiredDockNextTo) where T : BitQuirky.Behavior.Editor.BehaviorEditorWindowBackend

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:67-79

Gets or opens the stable docked owner for a supported presentation type.

C#
public virtual void OnBecameInvisible()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:64

Suspends visibility-dependent presentation work when the window is hidden.

C#
public virtual void OnBecameVisible()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:62

Resumes presentation work when the stable window becomes visible.

C#
public virtual void OnDestroy()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:60

Releases presentation resources when the stable window is destroyed.

C#
public virtual void OnDisable()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:56

Releases transient presentation subscriptions when the window is disabled.

C#
public virtual void OnEnable()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:54

Restores presentation state when the stable window is enabled.

C#
public void Repaint()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorWindowBackend.cs:41

Requests a repaint of the stable owner.

C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorEditorWindowDocking

Source 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 supportedSceneViewanchor.

Does NOT:

  • Inspect internal Editor window types or alter an existing Editor layout.

C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorEntityBindingLifecycle

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:11-18

Underlying type: int

Terminal lifecycle of one exact entity debugger binding.

C#
Destroyed = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:17

The entity is gone; the binding keeps serving its retained snapshots and never rebinds.

C#
Live = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:14

The entity still exists and its values are being sampled.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorEntityDebuggerBinding

Source 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.

C#
public BitQuirky.Behavior.Baked.BakedBehaviorArtifact Artifact { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:152

Baked artifact the followed entity runs.

C#
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.

C#
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.

C#
public int FollowerId { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:144

Id of the debug follower attached to the entity.

C#
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.

C#
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.

C#
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).

C#
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.

C#
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.

C#
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.

C#
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.

C#
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).

C#
public int MemberTargetReadingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerBinding.cs:175

Gets the number of live member target readings available.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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)”
C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorEntityIdentitySnapshot

Source 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.

C#
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.

C#
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.

C#
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.

C#
public string EntityDisplay { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:85

Entity index and version formatted for display.

C#
public int EntityIndex { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:67

Index part of the entity id.

C#
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.

C#
public int FollowerId { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:75

Id of the debug follower attached to the entity.

C#
public int GraphId { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:73

Id of the graph the entity runs.

C#
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.

C#
public string PrimaryArchetypeComponent { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:79

Component chosen to represent the archetype in compact displays.

C#
public string WorldDisplay { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:82

World name and instance number formatted for display.

C#
public string WorldName { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntityDebuggerSnapshots.cs:63

Name of the world the entity was resolved in.

C#
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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorEntitySelectionResolutionStatus

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:13-26

Underlying type: int

Outcome of resolving one Unity-selected runtime entity.

C#
Ambiguous = 2

Source 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.

C#
None = 0

Source 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.

C#
Supported = 3

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:25

Exactly one debuggable entity was resolved and the target is filled in.

C#
Unsupported = 1

Source 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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorEntitySelectionResolver

Source 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.

Resolve(EntityId selectedEntityId, out BehaviorEntitySelectionTarget target)

Section titled “Resolve(EntityId selectedEntityId, out BehaviorEntitySelectionTarget target)”
C#
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.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorEntitySelectionTarget

Source 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.

C#
public Unity.Entities.Entity Entity { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:54

The selected entity, valid only in World.

C#
public Unity.Entities.World World { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/BehaviorEntitySelectionResolver.cs:52

World the selected entity lives in.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorGraphAssetCandidate

Source 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.

C#
public readonly string Address

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:37

Stable AssetDatabase GUID assigned when this candidate is chosen.

C#
public readonly string DisplayName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:40

File name shown as the row title.

C#
public readonly string FolderPath

Source 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)”
C#
public BehaviorGraphAssetCandidate(string address, string displayName, string folderPath)

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:46-51

Creates one immutable picker candidate.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorGraphAssetKind

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:16-23

Underlying type: byte

Graph kind whose project assets one picker presents.

C#
BehaviorTree = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:19

A reusable Behavior Tree project asset.

C#
StateMachine = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:22

A reusable State Machine project asset.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorGraphAssetPickerPopover

Source 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.

C#
public event System.Action<string> AssetChosen

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphAssetPickerPopover.cs:98

Raised with the stable GUID of the chosen graph asset.

C#
public event System.Action NewAssetRequested

Source 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)”
C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorGraphDebuggerWindowBackend

Source 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.

Bind(IBehaviorGraphDebuggerBinding binding)

Section titled “Bind(IBehaviorGraphDebuggerBinding binding)”
C#
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)”
C#
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.

C#
public override void CreateGUI()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:146-173

Builds the stable owner’s retained-mode visual tree.

C#
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.

C#
public override void OnBecameVisible()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:183-187

Resumes presentation work when the stable window becomes visible.

C#
public override void OnDestroy()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorGraphDebuggerWindow.cs:197-204

Releases presentation resources when the stable window is destroyed.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorLiveValueCollectionSnapshot

Source 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.

C#
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.

C#
public int Capacity { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:379

Gets how many elements the collection can hold while running.

C#
public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind ElementKind { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:370

Gets the editable kind of one element.

C#
public int ElementStride { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:382

Gets the native byte stride of one element.

C#
public System.Type ElementType { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:373

Gets the declared element type.

C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Editor.BehaviorLiveValueRowSnapshot

Source 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.

C#
public string AuthoredDisplayValue

Source 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.

C#
public BitQuirky.Behavior.Editor.BehaviorLiveValueCollectionSnapshot Collection

Source 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.

C#
public string DisplayValue

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:466

Current effective value, already formatted for display.

C#
public System.Type EnumType

Source 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.

C#
public string FieldLabel

Source 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.

C#
public string FullDisplayValue

Source 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.

C#
public bool HasActiveOverride

Source 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).

C#
public UnityEngine.Object HeldObject

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:458

The object an ObjectType row holds right now; null is None.

C#
public bool IsHostOwned

Source 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.

C#
public bool IsNonValue

Source 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.

C#
public bool IsText

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:444

Whether the row holds one declaredstring, edited as text and committed as a FromTextpayload.

C#
public bool IsWritable

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:483

Whether this instance’s live value capability can currently write this slot.

C#
public string Label

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:410

Author-facing row label: the field name, or the owning node’s display name.

C#
public System.Type ObjectType

Source 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.

C#
public string SharedName

Source 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.

C#
public int StructByteSize

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:439

The native byte size of a StructKind slot, which an edit must fill exactly.

C#
public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind StructKind

Source 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.

C#
public string StructPayload

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:437

The current value of a StructKind slot as its canonical field block.

C#
public System.Type StructType

Source 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.

C#
public BitQuirky.Behavior.Member.BehaviorLiveValueTarget Target

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:407

The exact slot this row addresses.

C#
public string TextPayload

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:449

The current value of anIsTextrow in its canonical spelling: quoted text, ornone.

C#
public BitQuirky.Behavior.Baked.BakedFieldTypeCode TypeCode

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:413

Baked storage type of the value.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Editor.BehaviorManagedBlackboardFieldSnapshot

Source 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.

C#
public string DisplayValue

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:103

The instance’s current reading, abbreviated after the shown elements.

C#
public string FieldName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:95

Declared variable name.

C#
public string FullDisplayValue

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:105

The complete reading when DisplayValue abbreviates it; otherwise empty.

C#
public bool IsNonValue

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:107

Whether the reading holds no value: none, missing, or a stated failure.

C#
public System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string, string>> Parts

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:111-112

Every element (index, reading) or entry (key, value) the instance holds.

C#
public string SavedValue

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:109

The saved value’s reading, as the Static Blackboard row reads it.

C#
public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueShape Shape

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:101

Declared outer shape.

C#
public string TypeLabel

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:97

Declared type spelling, for example Dictionary<Guid, string>.

C#
public BitQuirky.Behavior.Authoring.BehaviorDeclaredValueKind ValueKind

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:99

Declared element representation kind.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Editor.BehaviorPendingExternalSnapshot

Source 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.

C#
public int CommandId

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:155

Baked id of the issued command.

C#
public int FrameIssued

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:159

Frame the request was issued on, which the panel turns into a relative age.

C#
public int PendingId

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:157

Id the runtime will quote when the result arrives.

C#
public int ServiceId

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:151

Baked id of the service the command was issued to.

C#
public string ServiceName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:153

Author-facing service name.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranch

Source 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.

C#
public string ChildId { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:65

Gets the branch child node id.

C#
public bool Enabled { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:68

Gets whether the author has this branch switched on.

C#
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.

C#
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.

C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranchModel

Source 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.

C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorRandomSelectorBranchReadout

Source 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.

C#
FirstPick = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:23

The branch participates and holds a share of the first pick.

C#
Never = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:26

The branch participates with weight zero and can never be picked.

C#
NotIncluded = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:29

The branch participates but its authored weight cannot be used.

C#
NotUsed = 3

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorBranchModel.cs:32

The branch is switched off, so its authored weight stays dormant.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailure

Source 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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailureModel

Source 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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
public const string OutcomeLabel = "Direct failure"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:202

The row label for the Direct failure outcome.

C#
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.

C#
public const string RePickingLabel = "Re-picking"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:229

The live reading for the selector between draws.

C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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

C#
enum BitQuirky.Behavior.Editor.BehaviorRandomSelectorDirectFailureReadout

Source 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.

C#
Absent = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:22

The outcome is not in the weighted set and offers Add outcome.

C#
FirstPick = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:25

The outcome holds a share of the pick.

C#
Never = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:28

The outcome is present with weight zero and can never be picked.

C#
NotIncluded = 3

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:31

The outcome is present but its saved weight cannot be used.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveOutcome

Source 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.

C#
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.

C#
public bool IsDirectFailure { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:138

Gets whether this reading is the Direct failure outcome.

C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveOutcomeState

Source 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.

C#
Dropped = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:101

The outcome was drawn, failed, and left the candidate set.

C#
Eligible = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:95

The outcome is still in the next draw.

C#
NotReached = 3

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:104

The pass ended before this outcome ran.

C#
NotUsed = 4

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:107

The outcome was never in this pass at all.

C#
Picked = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:98

The outcome was drawn and is the current one.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorRandomSelectorLiveState

Source 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.

C#
public ulong CandidateMask { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:177

Gets the remaining child candidate mask, keyed by branch order.

C#
public bool DirectFailurePicked { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:183

Gets whether Direct failure was drawn and ended the pass.

C#
public bool PassActive { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorRandomSelectorDirectFailureModel.cs:174

Gets whether this selector currently owns a pass in flight.

C#
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)”
C#
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.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Editor.BehaviorRecentEventSnapshot

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:178-188

Snapshot of one recent transition / event row for the editor inspector.

C#
public string Kind

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:181

Short kind tag that selects the row glyph.

C#
public string Label

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:183

Row label shown in the inspector.

C#
public string Tooltip

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:187

Full text shown when hovering the row.

C#
public string Value

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:185

Row value already formatted for display.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Editor.BehaviorSelectedNodeDetailSnapshot

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:165-173

Snapshot of one selected-node detail row for the editor inspector.

C#
public string Label

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:168

Row label shown in the inspector.

C#
public string Tooltip

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:172

Full text shown when hovering the row.

C#
public string Value

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:170

Row value already formatted for display.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Editor.BehaviorSharedNumericFieldSnapshot

Source 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.

C#
public float CurrentValue

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:136

Current shared value.

C#
public string FieldName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:132

Name of the blackboard field this shared value is bound to.

C#
public string SharedName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:134

The injected source’s shared identity, distinguishing it from a private value.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorSourceSaveState

Source 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.

C#
Conflict = 3

Source 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.

C#
Failed = 4

Source declaration: Packages/io.bitquirky.behavior/Editor/Persistence/BehaviorSourceSaveQueue.cs:35

The write failed; the queue carries the reason.

C#
Queued = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/Persistence/BehaviorSourceSaveQueue.cs:26

A write is scheduled and has not started yet.

C#
Saved = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/Persistence/BehaviorSourceSaveQueue.cs:23

The file on disk matches the edited source; nothing is pending.

C#
Saving = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/Persistence/BehaviorSourceSaveQueue.cs:29

A write is in flight.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeBlackboardPanel

Source 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.

C#
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.

C#
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.

C#
public int VariableCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:194

Gets how many variables the bound graph declares.

C#
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.

C#
public event System.Action OnBindMemberRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:142

Raised when the author asks to bind a member directly from the blackboard.

C#
public event System.Action<string> OnChangeVariableTypeRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:162

Raised when the author opens the type selector from a variable’s type chip.

C#
public event System.Action OnDeclareVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:156

Raised when the author asks for a new declared variable.

C#
public event System.Action<string, BitQuirky.Behavior.Baked.BakedFieldTypeCode, string> OnDefaultValueChanged

Source 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.

C#
public event System.Action<BitQuirky.Behavior.Editor.BlackboardFault, string> OnFaultRecoveryRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:176

Raised when an inline blackboard fault recovery is chosen.

C#
public event System.Action<string> OnMemberGoToNodeRequested

Source 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.

C#
public event System.Action<string, string> OnMemberRenameRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:145

Raised when a surfaced member binding is renamed.

C#
public event System.Action<string> OnMemberUnbindRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:148

Raised when a surfaced member binding is unbound.

C#
public event System.Action<string> OnRemoveVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:159

Raised when the author asks to remove one declared variable.

C#
public event System.Action<string, string> OnRenameVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:165

Raised when a valid variable rename commits, old name first.

C#
public event System.Action<int> OnRequestIdFocusRequested

Source 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.

C#
public event System.Action<string, string> OnRevalueVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:168

Raised when a value control writes a new canonical payload.

C#
public event System.Action<BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest> OnValueEditRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:173

Raised when a collection or instance control asks for one structural edit.

C#
public event System.Action OnVariablesRendered

Source 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.

C#
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.

C#
public void FocusSearch()

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanel.cs:791-794

Moves keyboard focus to the panel search field.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeBlackboardPanelState

Source 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.

C#
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.

C#
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.

C#
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.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeBlackboardVariablesSection

Source 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.

C#
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.

C#
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.

C#
public string PendingVariableName { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:225

Gets the pending typeless row’s current name.

C#
public int VariableCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:219

Gets how many variables the graph declares.

C#
public event System.Action<string> ChangeTypeRequested

Source 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.

C#
public event System.Action DeclareVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:176

Raised when the author asks for a new variable through either affordance.

C#
public event System.Action<BitQuirky.Behavior.Editor.BlackboardFault, string> FaultRecoveryRequested

Source 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.

C#
public event System.Action<string> GoToVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:200

Raised when the author takes a go-to recovery to the named variable.

C#
public event System.Action<string> RemoveVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:179

Raised when the author asks to remove the named variable.

C#
public event System.Action<string, string> RenameVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:188

Raised when a valid rename commits, old name first.

C#
public event System.Action Rendered

Source 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).

C#
public event System.Action<string, string> RevalueVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:191

Raised when a value control writes a new canonical payload for one variable.

C#
public event System.Action<BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest> ValueEditRequested

Source 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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
public void CancelPendingVariable()

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:425-430

Removes the pending typeless row without declaring anything.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeBreakpointService

Source 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.

C#
public event System.Action<System.Guid> AssetBreakpointsChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeBreakpointService.cs:50

Raised whenever a breakpoint is set or cleared. Subscribers refresh their UI.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeDecoratorStackLayoutDecorator

Source 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 theirNodeDefinition.IconKey (the BT graph adapter already stamps “inverter” / “repeat” / “time” on decorator nodes; we read that, never reach into BakedNodeKind).
  • 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. OnlyLayoutState.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.

DecorateLayout(GraphLayoutContext context)

Section titled “DecorateLayout(GraphLayoutContext context)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeDecoratorTooltipFactory

Source 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.

Compose(BakedBehaviorArtifact artifact, int bakedIndex)

Section titled “Compose(BakedBehaviorArtifact artifact, int bakedIndex)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeEditValidationResult

Source 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.

C#
public bool HasAnyBlockingViolations { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:105-121

Gets whether any structural or parameter violation blocks saving.

C#
public bool HasStructuralViolations { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:89-102

Gets whether any structural violation rejects the candidate edit.

C#
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.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeEditValidationRule

Source 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.

Validate(BehaviorSourceDocument document, BehaviorSourceAst ast)

Section titled “Validate(BehaviorSourceDocument document, BehaviorSourceAst ast)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorTreeEditValidationSeverity

Source 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”).

C#
Informational = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:23

Informational only, never blocks save .

C#
Parameter = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:25

Parameter / value violation, blocks save .

C#
Structural = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:28

Structural violation, blocks save and rejects the inducing structural edit ( / ).

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeEditValidationViolation

Source 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.

C#
public string Code { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:61

Stable machine-readable code for the violated rule.

C#
public string Message { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditValidationRule.cs:63

Author-facing explanation shown in the issues list.

C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeEditingSession

Source 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.
  • RaiseDocumentChangedonly for effective authored transactions, with precise retained-presentation invalidation independent of state notifications.

Does NOT:

  • Touch Unity’s global Undo system. The editor window interceptsCmd+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.

C#
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.

C#
public string AssetPath { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:161

Project-relative path of the behavior asset this session edits.

C#
public BitQuirky.Behavior.Authoring.BehaviorSourceAst Ast { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:165

Parsed graph for the current document revision.

C#
public bool CanRedo { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:198

Whether the redo stack holds a command to replay.

C#
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.

C#
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.

C#
public bool CanUndo { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:196

Whether the undo stack holds a command to reverse.

C#
public BitQuirky.Behavior.Authoring.BehaviorSourceDocument Document { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:163

The live source document every command mutates.

C#
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.

C#
public bool IsDirty { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:171

Whether the document holds edits the disk copy does not.

C#
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.

C#
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.

C#
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.

C#
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.

C#
public event System.Action<string> SaveFailed

Source 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.

C#
public event System.Action<string> SavedToDisk

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditingSession.cs:142

Raised whenSaveAndBakewrites the document to disk. Consumers post transient status messages.

C#
public event System.Action<string> SourceSavedToDisk

Source 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.

C#
public event System.Action StateChanged

Source 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)”
C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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”.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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)”.

C#
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)”
C#
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.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeEditorInspector

Source 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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
public event System.Action<System.Guid> OnActiveNodeFocusRequested

Source 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 .

C#
public event System.Action OnBindMemberRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:267

Raised when the author asks to bind a member directly from the blackboard.

C#
public event System.Action<string, BitQuirky.Behavior.Baked.BakedFieldTypeCode, string> OnBlackboardDefaultValueChanged

Source 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.

C#
public event System.Action<BitQuirky.Behavior.Editor.BlackboardFault, string> OnBlackboardRecoveryRequested

Source 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.

C#
public event System.Action<string> OnChangeVariableTypeRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:255

Raised when the author opens the type selector from a variable’s type chip.

C#
public event System.Action OnDeclareVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:249

Raised when the author asks for a new declared variable.

C#
public event System.Action<BitQuirky.Behavior.Member.BehaviorLiveMemberEditRequest> OnLiveMemberEditRequested

Source 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.

C#
public event System.Action<BitQuirky.Behavior.Member.BehaviorLiveValueEditRequest> OnLiveValueEditRequested

Source 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.

C#
public event System.Action<string> OnMemberGoToNodeRequested

Source 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.

C#
public event System.Action<string, string> OnMemberRenameRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:270

Raised when a surfaced member binding is renamed.

C#
public event System.Action<string> OnMemberUnbindRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:273

Raised when a surfaced member binding is unbound.

C#
public event System.Action<string, string> OnNodeRenameRequested

Source 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.

C#
public event System.Action<BitQuirky.Behavior.Editor.BehaviorPendingExternalSnapshot> OnPendingRequestClicked

Source 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.

C#
public event System.Action<string> OnRemoveVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:252

Raised when the author asks to remove one declared variable.

C#
public event System.Action<string, string> OnRenameVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:258

Raised when a valid variable rename commits, old name first.

C#
public event System.Action<string, string> OnRevalueVariableRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:261

Raised when a value control writes a new canonical payload.

C#
public event System.Action<BitQuirky.Behavior.Authoring.BehaviorSourceRuntimePath> OnRuntimePathChanged

Source 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.

C#
public event System.Action<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding, string> OnUncarriedBindingRecoveryRequested

Source 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.

C#
public event System.Action<BitQuirky.Behavior.Editor.BehaviorBlackboardValueEditRequest> OnValueEditRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:264

Raised when a value control asks for one structural collection edit.

C#
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)”
C#
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.

C#
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)”
C#
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.

C#
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.

C#
public void ClearLiveValueRows()

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorInspector.cs:1052-1057

Clears the Live values rows and hides the section.

C#
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)”
C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeEditorLiveLegend

Source 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.

C#
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)”
C#
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).

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeEditorPreferences

Source 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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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).

C#
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.

C#
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.

C#
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.

C#
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.

C#
public static event System.Action Changed

Source 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.

C#
public const string DefaultCanvasBackgroundHex = "#38383e"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:35

Default canvas background color, as a hex string.

C#
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.

C#
public const float DefaultEdgeActiveStrokeWidth = 1.75

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:51

Default active edge stroke width, in canvas units.

C#
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.

C#
public const float DefaultEdgeIdleOpacity = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:47

Default idle edge opacity, from 0 to 1.

C#
public const float DefaultEdgeIdleStrokeWidth = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:45

Default idle edge stroke width, in canvas units.

C#
public const int DefaultEdgeRoutingIndex = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:41

Default entry in the edge routing choices.

C#
public const int DefaultEdgeStyleIndex = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:33

Default entry in the edge style choices.

C#
public const int DefaultGridDotFrequency = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:23

Default number of grid cells between dots; 1 draws a dot at every intersection.

C#
public const string DefaultGridDotHex = "#1a1a1c"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:39

Default grid dot color, as a hex string.

C#
public const float DefaultGridDotRadius = 1.1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:25

Default grid dot radius in canvas units.

C#
public const string DefaultGridLineHex = "#3a3a40"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:37

Default grid line color, as a hex string.

C#
public const float DefaultGridSpacing = 24

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:21

Default distance between grid lines, in canvas units at 100% zoom.

C#
public const float DefaultInsertionTraceDashLength = 5

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:55

Default dash length of the insertion trace, in canvas units.

C#
public const float DefaultInsertionTraceGapLength = 4

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:57

Default gap between insertion trace dashes, in canvas units.

C#
public const float DefaultInsertionTraceHorizontalOffset = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:59

Default horizontal inset of the insertion trace from the card edge, in canvas units.

C#
public const float DefaultInsertionTraceStartOffset = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:63

Default distance the insertion trace starts away from its anchor, in canvas units.

C#
public const float DefaultInsertionTraceStrokeWidth = 1.1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:53

Default stroke width of the dashed insertion trace, in canvas units.

C#
public const float DefaultInsertionTraceVerticalOffset = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:61

Default vertical inset of the insertion trace from the card edge, in canvas units.

C#
public const bool DefaultInvertZoomDirection = false

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:29

Default for whether scrolling up zooms out instead of in.

C#
public const int DefaultNodeDensityIndex = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:31

Default entry in the node density choices, from most compact to most spacious.

C#
public const float DefaultZoomSensitivity = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorPreferences.cs:27

Default multiplier applied to scroll-wheel zoom steps.

C#
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.

C#
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.

C#
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.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeEditorStatusBar

Source 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.

C#
public BehaviorTreeEditorStatusBar()

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:86-170

Creates the exact status composition.

C#
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.

C#
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.

C#
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.

C#
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.

C#
public void ClearStaticMetadata()

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:453-456

Clears Static-specific metadata.

C#
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.

C#
public void ClearTransientMessage()

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:585-594

Clears the current temporary message.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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.

C#
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)”
C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeEditorToolbar

Source 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.

C#
public bool IsPaused { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:273

Whether the live pause control is currently engaged.

C#
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.

C#
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.

C#
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.

C#
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.

C#
public event System.Action OnAssetIdentityClicked

Source 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.

C#
public event System.Action OnFollowerIdentityClicked

Source 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.

C#
public event System.Action OnLayoutMenuRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:208

Raised when the author opens the layout menu.

C#
public event System.Action<bool> OnLockPanZoomChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:210

Raised with the new state when the author locks or unlocks pan and zoom.

C#
public event System.Action<BitQuirky.Behavior.Editor.BehaviorTreeEditorToolbar.ModeSelection> OnModeChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:206

Raised with the newly selected surface after the author switches mode.

C#
public event System.Action OnOpenConflictResolution

Source 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.

C#
public event System.Action<bool> OnPauseToggled

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:212

Raised with the new paused state when the author toggles the live pause control.

C#
public event System.Action OnRedoRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:222

Raised when the author asks to redo the last undone edit.

C#
public event System.Action OnReloadRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:202

Raised when the author asks to reload the open asset from disk.

C#
public event System.Action OnSaveRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:218

Raised when the author asks to save and bake the open asset.

C#
public event System.Action OnSearchInvoked

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:204

Raised when focus or a left pointer press invokes the inline node search.

C#
public event System.Action<UnityEngine.UIElements.VisualElement> OnStateMachineOverflowRequested

Source 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.

C#
public event System.Action OnStepRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:214

Raised when the author asks the live follower to advance one tick.

C#
public event System.Action OnUndoRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:220

Raised when the author asks to undo the last edit.

C#
public event System.Action<UnityEngine.UIElements.VisualElement> OnVerdictClicked

Source 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.

C#
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.

C#
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).

C#
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.

C#
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).

C#
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.

C#
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.

C#
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)”
C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

C#
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)”
C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeEditorWindowBackend

Source 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.

C#
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.

C#
public BitQuirky.Graph.GraphView.GraphTheme Theme { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1261

Graph theme currently applied to the canvas.

C#
public BitQuirky.Graph.GraphView.GraphViewOptions ViewOptions { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:1263

View options currently applied to the canvas.

C#
public override void CreateGUI()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:5938-6008

Builds the stable owner’s retained-mode visual tree.

C#
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)”
C#
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.

C#
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)”
C#
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.

C#
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.

C#
public override void OnBecameVisible()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:6071-6075

Resumes presentation work when the stable window becomes visible.

C#
public override void OnDestroy()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorWindow.cs:6037-6068

Releases presentation resources when the stable window is destroyed.

C#
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.

C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeGraphAdapter

Source 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.

Build(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex)

Section titled “Build(BakedBehaviorArtifact artifact, Dictionary<int, Guid> indexToId, Dictionary<Guid, int> idToIndex)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorTreeInsertionKind

Source 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.

C#
Between = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:31

Adds a sibling immediately after an existing child.

C#
Root = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:25

Creates the first behavior node.

C#
Under = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:28

Appends a child under an existing node.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeInsertionPopover

Source 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.

C#
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.

C#
public event System.Action<BitQuirky.Behavior.Editor.BehaviorTreeInsertionRequest> InsertionRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:255

Raised after an enabled node type is activated.

C#
public event System.Action<string> RepeatPolicyPreviewChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:265

Raised when the Repeat preview policy changes without inserting a node.

C#
public BehaviorTreeInsertionPopover()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:271-311

Creates the production insertion picker.

C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeInsertionRequest

Source 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.

C#
public string ChildId { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:72

Gets the existing child id for add-after requests.

C#
public int ChildIndex { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:75

Gets the ordered child position.

C#
public BitQuirky.Behavior.Editor.BehaviorTreeInsertionKind Kind { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:63

Gets the structural insertion kind.

C#
public string NodeToken { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:66

Gets the selected node-type token.

C#
public string ParentId { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInsertionPopover.cs:69

Gets the parent node id, when present.

C#
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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorTreeInspectorSection

Source 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.

C#
Blackboard = 3

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:32

The “Blackboard values” section: the bound graph’s blackboard variables and their current values.

C#
EntityBinding = 6

Source 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.

C#
Evaluation = 8

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:47

The “Evaluation” section: feedback for pending runtime edits and saved-graph receipts.

C#
LiveValues = 10

Source 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 .

C#
MemberBinding = 7

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:44

The “Member binding” section: the selected node’s member binding and its live facts.

C#
PendingRequests = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:26

The “Pending requests” section: external service calls the graph is still waiting on.

C#
RecentTransitionsEvents = 5

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:38

The “Recent transitions / events” section: the recent event and transition log.

C#
RuntimeStatus = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:23

The “Graph runtime status” section: tick, frame, and overall run state of the bound graph.

C#
SelectedNodeDetails = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:29

The “Selected node details” section: per-node facts for the current canvas selection.

C#
UtilityBranches = 9

Source 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.

C#
WatchedValues = 4

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeInspectorSection.cs:35

The “Watched values” section: values the author pinned for continuous observation.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeInspectorState

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorControlState.cs:192-214

Retains inspector search, owner filtering, pinned rows and section collapse state.

C#
public string BlackboardSearchTerm { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorControlState.cs:197

Filter text retained for the inspector blackboard search field.

C#
public string OwnerFilter { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditorControlState.cs:199

Owner scope the inspector blackboard rows are filtered by.

C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeIssuesPopover

Source 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.

C#
public bool IsOpen { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeIssuesPopover.cs:70

Gets whether the popover is currently open.

C#
public event System.Action<BitQuirky.Behavior.Editor.BehaviorEditorIssue> OnIssueActivated

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeIssuesPopover.cs:39-43

Raised when the user activates an issue row; the popover then closes.

C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeNodeFamilyMap

Source 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.

C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeNodePalette

Source 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.

C#
public event System.Action<string> NodeRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:93

Raised with a stable palette token when the developer requests a node.

C#
public event System.Action RootRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:96

Raised when the empty-tree root action is activated.

C#
public const string BlackboardConditionToken = "blackboard condition"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:56

Palette request token for a blackboard comparison condition.

C#
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.

C#
public const string ConditionalToken = "conditional"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:38

Palette request token for a conditional decorator.

C#
public const string ImmediateActionToken = "immediate action"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:81

Compatibility request token for a contained immediate action.

C#
public const string InverterToken = "inverter"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:50

Palette request token for a result-inverting decorator.

C#
public const string MoveToToken = "move to"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:65

Palette request token for the generic movement action.

C#
public const string ParallelToken = "parallel"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:47

Palette request token for a logical parallel composite.

C#
public const string ProbabilitySelectorToken = "probability selector"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:84

Compatibility request token for the Probability Selector composite.

C#
public const string RepeatForeverToken = "repeat"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:35

Compatibility alias for the configurable Repeat request token.

C#
public const string RepeatToken = "repeat"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:32

Palette request token for a configurable Repeat decorator.

C#
public const string SelectorToken = "selector"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:44

Palette request token for an ordered fallback composite.

C#
public const string SequenceToken = "sequence"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:41

Palette request token for an ordered sequence composite.

C#
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.

C#
public const string StateToken = "state"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:75

Compatibility request token for a State Machine state.

C#
public const string SubgraphToken = "subgraph"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:59

Palette request token for another behavior graph.

C#
public const string TimeLimitToken = "time limit"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:53

Palette request token for a deadline decorator.

C#
public const string TransitionToken = "transition"

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:78

Compatibility request token for a conditioned transition.

C#
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.

C#
public BehaviorTreeNodePalette()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodePalette.cs:99-138

Creates the contextual empty-tree root action.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeNodeParameterEditor

Source 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.

C#
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.

C#
public event System.Action<UnityEngine.UIElements.VisualElement, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate>, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity, System.Action<string>> TransitionVariablePickerRequested

Source 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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeNodeSearchPopover

Source 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.

C#
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.

C#
public event System.Action<System.Guid> OnNodePicked

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:43-47

Raised with the current graph view identity of the activated result.

Section titled “BehaviorTreeNodeSearchPopover(SearchField search)”
C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorTreePendingRequestRow

Source 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 underBehaviorTreePendingRequestSemantics owns the human-readable kind / payload strings.

C#
public string KindText { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreePendingRequestRow.cs:39

Short kind tag shown at the head of the row.

C#
public string LabelText { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreePendingRequestRow.cs:41

Author-facing name of the pending request.

C#
public string Tooltip { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreePendingRequestRow.cs:45

Full text shown when hovering the row.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector

Source 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.

C#
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.

C#
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.

C#
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.

C#
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).

C#
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.

C#
public event System.Action<string> OnActionAnnouncement

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:813

A keyboard interaction reached a boundary the author should hear about.

C#
public event System.Action<string, UnityEngine.UIElements.VisualElement> OnActionBehaviorDropdown

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:778

The selected action’s behavior dropdown was clicked.

C#
public event System.Action<string, string, string> OnActionGroupSettingChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:800

One lifecycle-group execution or lifetime setting changed.

C#
public event System.Action<string, int> OnActionKeyboardReorder

Source 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.

C#
public event System.Action<string, string> OnActionPhaseChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:797

The selected action was moved into another lifecycle group.

C#
public event System.Action<string> OnActionRemove

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:781

An action row remove affordance was invoked.

C#
public event System.Action<string, int> OnActionReorder

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:784

An action row was moved to an exact position inside its own group.

C#
public event System.Action OnAddStateClicked

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:760

The States section header “+” was clicked.

C#
public event System.Action<BitQuirky.Behavior.Editor.BlackboardFault, string> OnBlackboardRecoveryRequested

Source 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.

C#
public event System.Action<UnityEngine.UIElements.VisualElement> OnEntryStateDropdown

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:754

Entry-state dropdown opened from the Machine section.

C#
public event System.Action<string> OnEntryToggleClicked

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:772

The selected state’s entry toggle was clicked.

C#
public event System.Action<string, string, UnityEngine.UIElements.VisualElement> OnGroupActionDropdown

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:775

A lifecycle group’s Add action affordance was invoked.

C#
public event System.Action<string, string> OnHostedLifetimeChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:850

The selected state’s hosted lifetime changed to Once or Repeat.

C#
public event System.Action<string, string, string> OnHostedResultEventChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:853

One hosted result event was exposed, renamed, or cleared.

C#
public event System.Action<string, bool> OnHostedSourceChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:835

The selected state’s Active Update source segment changed.

C#
public event System.Action<string, UnityEngine.UIElements.VisualElement> OnHostedTreeChooseRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:838

Choose tree or Change was invoked for the selected state.

C#
public event System.Action<string> OnHostedTreeClearRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:847

Clear was invoked on the selected state’s assigned hosted tree.

C#
public event System.Action<string> OnHostedTreeNewRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:841

New tree was invoked for the selected state.

C#
public event System.Action<string> OnHostedTreeOpenRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:844

Open was invoked on the selected state’s assigned hosted tree.

C#
public event System.Action<string> OnLegacyLifecycleUpgradeRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:816

The author accepted the explicit legacy lifecycle upgrade boundary.

C#
public event System.Action<BitQuirky.Behavior.Member.BehaviorLiveValueEditRequest> OnLiveValueEditRequested

Source 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).

C#
public event System.Func<string, float, bool> OnMinActiveSecondsChanged

Source 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.

C#
public event System.Action<string> OnNavigateToNode

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:820

A navigation row (owning state, from, to) was clicked.

C#
public event System.Action<string, string> OnRenameNode

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:763

The identity title committed a new name for the selected node.

C#
public event System.Action<BitQuirky.Behavior.Authoring.BehaviorSourceRuntimePath> OnRuntimePathChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:823

Raised when the machine’s graph-owned runtime path changes.

C#
public event System.Action<string, string, string> OnSemanticSettingChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:803

A state or transition’s canonical completion setting changed.

C#
public event System.Action<string> OnStateRowClicked

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:757

State row clicked in the States section.

C#
public event System.Action<string, int> OnTransitionReorder

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:787

An outgoing transition was moved to its new evaluation order.

C#
public event System.Action<string, UnityEngine.UIElements.VisualElement> OnTransitionTriggerEventRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:859

The selected transition’s exposed-event picker was opened.

C#
public event System.Action<string, string> OnTransitionTriggerSourceChanged

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:856

The selected transition’s Trigger source changed.

C#
public event System.Action<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding, string> OnUncarriedBindingRecoveryRequested

Source 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.

C#
public System.Func<string, string, string> RenameRefusal

Source 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.

C#
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.

C#
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.

C#
public void ClearLiveValueRows()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1208-1213

Clears the Live values rows and hides the section.

C#
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.

C#
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)”
C#
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.

C#
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)”
C#
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.

C#
public void SetRuntimeVisible(bool visible)

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:1330-1333

Show or hide the Live-only Runtime section.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeStateMachineKind

Source 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 (explicitaction_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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeStaticBinding

Source 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-layerBehaviorBakeMenuRunnerand hands the result over.
  • Carry editing state. The document’s BehaviorTreeEditingSessionis the authoritative model for unsaved edits.

C#
public BitQuirky.Behavior.Baked.BakedBehaviorArtifact Artifact { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:97

The baked artifact the Static view renders.

C#
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.

C#
public int FollowerId { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:91

Always -1: a Static binding follows no live runtime.

C#
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.

C#
public BitQuirky.Behavior.Diagnostics.BehaviorTraceServiceBindings ServiceBindings { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStaticBinding.cs:99

Always None: Static viewing resolves no services.

C#
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)”
C#
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)”.

C#
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.

C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeTransitionPill

Source 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.

C#
public event System.Action Clicked

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeTransitionPill.cs:546

Raised when the pill is clicked.

C#
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.

C#
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.

C#
public void SetFired(bool fired)

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeTransitionPill.cs:631-636

Toggle the blue last-fired presentation.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeViewportState

Source 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 againstEditorPrefswhen 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-readsEditorPrefson the next open.

C#
public bool IsLocked { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:47

True when user + refresh-driven pan/zoom is blocked.

C#
public UnityEngine.Vector2 Pan { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:41

Pan offset in graph space.

C#
public string PreferencesKeyPrefix { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:50

Persistence key prefix the editor supplied at construction.

C#
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)”
C#
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.

C#
public void LoadFromEditorPrefs()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:71-79

Load values from EditorPrefs (no-op if prefix empty).

C#
public void SaveToEditorPrefs()

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeViewportState.cs:82-89

Save values to EditorPrefs (no-op if prefix empty).

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorUtilityBranch

Source 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.

C#
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.

C#
public string ChildId { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorUtilityBranchModel.cs:36

Gets the branch child node id.

C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorUtilityBranchModel

Source 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.

Collect(BehaviorSourceAst ast, string selectorId)

Section titled “Collect(BehaviorSourceAst ast, string selectorId)”
C#
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.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Editor.BehaviorUtilityBranchScoreSnapshot

Source 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.

C#
public int BranchIndex

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:206

Baked branch source order within its owning Utility Selector (0-based).

C#
public bool IsActive

Source 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.

C#
public float Score

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:208

The branch’s current score.

Category: Low-level runtime

C#
struct BitQuirky.Behavior.Editor.BehaviorWatchedFieldSnapshot

Source 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.

C#
public string DisplayValue

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:38

Current value already formatted for display.

C#
public string FieldName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:32

Author-facing field name.

C#
public int FieldNameInternedIndex

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:30

Interned-name index of the field in the baked artifact.

C#
public BitQuirky.Behavior.Baked.BakedAuthorityContext OwnerAuthority

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:36

Authority context that owns the field.

C#
public BitQuirky.Behavior.Baked.BakedFieldTypeCode TypeCode

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorEditorSnapshots.cs:34

Baked storage type of the field.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardCollectionEditor

Source 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.

C#
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.

C#
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)”
C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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)”
C#
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.

C#
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.

C#
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.

C#
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.

C#
public void SetToNone()

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardCollectionEditor.cs:206-210

Writes the explicit None state: no collection at all.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardDictionaryEditor

Source 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.

C#
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.

C#
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)”
C#
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.

C#
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.

C#
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)”
C#
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.

C#
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)”
C#
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.

C#
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.

C#
public void SetToNone()

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardValueEditors.cs:3254-3259

Writes the explicit None state: no dictionary at all.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardEnumDropdown

Source 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.

C#
public bool IsMenuOpen { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardEnumDropdown.cs:120

Gets whether the member menu is open.

C#
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)”
C#
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.

C#
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.

C#
public void SetMenuOpen(bool open)

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardEnumDropdown.cs:129-147

Opens or closes the member menu.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardFault

Source 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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BlackboardFaultDomain

Source 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.

C#
Element = 3

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:44

One element of a list or array, in authored order.

C#
EntryKey = 5

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:50

One dictionary entry’s key.

C#
EntryValue = 6

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:53

One dictionary entry’s value.

C#
Field = 4

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:47

One saved field of a struct or class instance.

C#
KeyType = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:41

The key half of a dictionary’s two type identities.

C#
ValueType = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:38

The value half of a declaration’s type identity.

C#
Variable = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:35

The declared variable itself.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardFaultPresenter

Source 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.

C#
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)”
C#
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)”
C#
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.

C#
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)”
C#
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)”
C#
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”.

C#
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.

C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BlackboardFaultSeverity

Source 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.

C#
Invalid = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:25

The saved state does not fit what it declares.

C#
Required = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardFaultPresenter.cs:22

Nothing is wrong yet: the author has not finished this declaration.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardFoldingInstanceElement

Source 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.

C#
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)”
C#
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.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardInlineSequenceEditor

Source 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.

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)”
C#
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.

C#
public void AddElement()

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardInstanceEditor.cs:974-979

Appends one element holding the element type’s default.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardInstanceEditor

Source 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.

C#
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)”
C#
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)”
C#
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.

C#
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.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardObjectReferenceField

Source 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 canonicalasset(guid, "name")payload.

Does NOT:

  • Store a scene object, invent a value, or clear a missing reference on its own.

C#
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.

C#
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)”
C#
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.

C#
public void SetToNone()

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BlackboardObjectReferenceField.cs:129-133

Takes the missing state’s Set to None recovery.

C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BlackboardOwnerFilter

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:10-20

Underlying type: int

Owner filter chip for the Blackboard panel .

C#
All = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:13

Show every variable, whatever authority owns it.

C#
Client = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:19

Show only client-authoritative variables.

C#
Host = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardPanelState.cs:16

Show only host-authoritative variables.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardRailPanel

Source 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.

C#
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.

C#
public UnityEngine.UIElements.ScrollView Body { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:206

Gets the panel’s independently scrolling body.

C#
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.

C#
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.

C#
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.

C#
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.

C#
public event System.Action<BitQuirky.Behavior.Editor.BlackboardFault, string> OnFaultRecoveryRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BlackboardRailPanel.cs:82

Raised when a fault’s recovery is chosen: the exact fault and the label.

C#
public event System.Action<BitQuirky.Behavior.Editor.BehaviorTreeEditCommands.BehaviorUncarriedBinding, string> OnUncarriedBindingRecoveryRequested

Source 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)”
C#
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.

C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardValueEditorHost

Source 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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BlackboardValueEditors

Source 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.

BuildCellEditor(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor, BlackboardValueEditorHost host, bool withReset)

Section titled “BuildCellEditor(BehaviorSourceDeclaredValue value, BehaviorDeclaredValueDescriptor descriptor, BlackboardValueEditorHost host, bool withReset)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeNodeSearchPopover.Candidate

Source 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.

C#
public string DisplayName { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:109

The authored or convention-derived name to match and display.

C#
public string Kind { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeSearchPopover.cs:112

The node kind displayed beside the result name.

C#
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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorTreeEditorStatusBar.ContextMessageKind

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:664-674

Underlying type: int

Identifies the contextual message color treatment.

C#
Error = 2

Source 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.

C#
Neutral = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:667

Plain informational message, drawn in the default ink with the check glyph.

C#
Success = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorStatusBar.cs:670

Confirmation of a completed action, drawn in the success ink with the check glyph.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.HostedResultEventChoice

Source 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.

C#
public readonly string EventId

Source declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:26

Stable event identity stored on the consuming transition.

C#
public readonly string ResultLabel

Source 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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.HostedResultEventPickerPopover

Source 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.

C#
public event System.Action<string> EventChosen

Source declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:79

Raised with the stable identity of the chosen result event.

C#
public HostedResultEventPickerPopover()

Source declaration: Packages/io.bitquirky.behavior/Editor/HostedResultEventPickerPopover.cs:86-110

Creates the exposed result-event picker.

C#
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)”
C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorEntityIdentityCapability

Source 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.

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorEntityLifecycleCapability

Source 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.

C#
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.

C#
string LifecycleMessage { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/Entity/IBehaviorEntityDebuggerCapabilities.cs:134

Author-facing explanation of the current lifecycle state.

C#
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.

C#
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.

C#
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.

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorEntityNodeStatusCapability

Source 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).

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorEntityUtilityScoreCapability

Source 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.

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorGraphDebugControl

Source 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.

C#
bool IsPaused(int followerId)

Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebugControl.cs:42

True when the follower is currently paused.

C#
void Pause(int followerId)

Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebugControl.cs:30

Pause this follower’s BT debug ticking only.

C#
void Resume(int followerId)

Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebugControl.cs:33

Resume this follower’s BT debug ticking.

C#
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)”
C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorGraphDebuggerBinding

Source 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.

C#
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.

C#
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”).

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorHostedStateMachineLiveSource

Source 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:

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.

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorLiveMemberSource

Source 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.

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorLiveValueRowSource

Source 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.

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorLiveValueSource

Source 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.

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorLiveValueStateRowSource

Source 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:

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorManagedBlackboardFieldSource

Source 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.

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorMemberRefEvaluationSource

Source 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.

C#
int RefEvaluationReadingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:160

Gets the number of live ref-parameter evaluation readings available.

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorMemberTargetReadingSource

Source 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.

C#
int MemberTargetReadingCount { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorGraphDebuggerBinding.cs:133

Gets the number of live member target readings available.

C#
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.

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorNodeStatusCapability

Source 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.

C#
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.

C#
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.

Category: Low-level runtime

C#
interface BitQuirky.Behavior.Editor.IBehaviorSharedNumericDebugCapability

Source 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 .bqbehavior authoring source or another instance’s private values.

C#
bool HasSharedNumericField { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/IBehaviorSharedNumericDebugCapability.cs:30

Whether the followed graph currently binds a shared numeric field.

C#
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.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.InspectorHead

Source 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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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.

C#
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).

C#
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.

C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorTreeEditorToolbar.ModeSelection

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:189-195

Underlying type: int

Which surface the toolbar’s mode switch has selected.

C#
Live = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:194

The debugger surface, which follows a running graph read-only.

C#
Static = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/Window/BehaviorTreeEditorToolbar.cs:192

The authoring surface, which edits the behavior source document.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorTreeBlackboardVariablesSection.NameEditState

Source 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.

C#
AlreadyDeclared = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:55

The typed text is already declared; a go-to recovery is offered.

C#
AlreadySurfaced = 3

Source 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.

C#
InvalidIdentifier = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:52

The typed text is not an identifier; the prior name is kept.

C#
Valid = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/Blackboard/BehaviorTreeBlackboardVariablesSection.cs:49

The typed text is a valid, unclaimed identifier.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.NewHostedBehaviorTreeSheet

Source 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.

C#
public bool IsOpen { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:136

Gets whether the sheet is currently displayed.

C#
public event System.Action<BitQuirky.Behavior.Editor.NewHostedBehaviorTreeTargetContext> Canceled

Source declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:73

Raised when the user dismisses the sheet without creating anything.

C#
public event System.Action<BitQuirky.Behavior.Editor.NewHostedBehaviorTreeTargetContext, string, string> CreateRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:70

Raised with the requested asset name and project folder.

C#
public NewHostedBehaviorTreeSheet()

Source declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:80-129

Creates the hidden create sheet.

C#
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)”
C#
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.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.NewHostedBehaviorTreeTargetContext

Source 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.

C#
public string StateId { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/NewHostedBehaviorTreeSheet.cs:22

Gets the state that initiated the request.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.NodeFamilySilhouette

Source 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.

C#
Condition = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:25

Chamfered “condition” silhouette: distinct from generic rectangular cards .

C#
Pill = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:18

Rounded pill: root / state nodes.

C#
Rail = 3

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:29

Rail: subgraph reference, thicker left edge and reduced opacity per .

C#
Rect = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:21

Rectangular card: composite / action nodes.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.NodeFamilyTreatment

Source 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.

C#
public readonly string AccentTokenName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:55

Design-token name for the family accent color.

C#
public readonly string Caption

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:59

Short family caption shown on the card eyebrow.

C#
public readonly string FamilyModifierClass

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:51

USS modifier applied to the card for the node family.

C#
public readonly string IconAssetPath

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:57

Asset path of the family glyph.

C#
public readonly bool IsDecorator

Source 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.

C#
public readonly BitQuirky.Behavior.Editor.NodeFamilySilhouette Silhouette

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeNodeFamilyMap.cs:61

Outline shape the card draws for the family.

C#
public readonly string SilhouetteModifierClass

Source 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)”
C#
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.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ProblemRow

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:153-169

One validation problem row.

C#
public readonly string FixHint

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:160

Suggested repair shown under the message.

C#
public readonly string Message

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:156

Author-facing description of the problem.

C#
public readonly string Subject

Source 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)”
C#
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.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.RuntimeLifecycleSnapshot

Source 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.

C#
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.

C#
public readonly string DestinationStateName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:397

The latched destination’s authored name, or empty.

C#
public readonly bool ExitUpdatePending

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:400

A nonempty Exit group still owes its sole evaluation.

C#
public readonly bool ExitUpdateSpent

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:403

That sole Exit evaluation has been spent on the displayed update.

C#
public readonly bool HasLatchedDestination

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:394

Whether a transition has latched exactly one destination.

C#
public readonly string Phase

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:388

The selected lifecycle group, as an ActionPhaseTokens value.

C#
public readonly uint UpdatePass

Source 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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.SelectionKind

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:172-185

Underlying type: int

Selection kinds the rail can compose.

C#
Action = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:181

An action is selected, so the rail composes that action’s detail rows.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:175

Nothing is selected, so the rail shows its empty state.

C#
State = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:178

A state is selected, so the rail composes its action list and outgoing transitions.

C#
Transition = 3

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:184

A transition is selected, so the rail composes its trigger and condition editor.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.SelectionSnapshot

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:207-372

Everything the selected composition needs.

C#
public int ActionGroupCount

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:302

How many actions the selected action’s phase group holds.

C#
public BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ActionRowIssue ActionIssue

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:296

How the selected action blocks its machine, if at all.

C#
public string ActionIssueText

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:298

Author-facing explanation of the selected action’s issue.

C#
public string ActionName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:246

Name of the selected action.

C#
public string ActionPhase

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:294

Lifecycle phase the selected action belongs to.

C#
public int ActionPositionInGroup

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:300

Zero-based position of the selected action within its phase group.

C#
public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.ActionRow> Actions

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:248

Action rows of the selected state, in authored order.

C#
public string BehaviorName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:292

Name of the hosted behavior the selected action runs.

C#
public BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.SourceCompatibility Compatibility

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:288

Whether the authored source is phased, legacy, or mid-upgrade.

C#
public string Completion

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:222

Completion token the selected state uses when its actions finish.

C#
public string CompletionResult

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:224

Result token the selected state reports on a Finish completion.

C#
public string ConditionName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:318

Name of the condition guarding the selected transition.

C#
public string EntryActionExecution

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:252

Whether the entry group runs its actions in sequence or in parallel.

C#
public BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus EntryGroupStatus

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:279

Runtime status of the entry group, and Resting outside Live.

C#
public bool ExecutionInterrupted

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:277

Whether the observed execution was cut short by a transition.

C#
public string ExitActionExecution

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:258

Whether the exit group runs its actions in sequence or in parallel.

C#
public BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus ExitGroupStatus

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:283

Runtime status of the exit group, and Resting outside Live.

C#
public string FromStateId

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:312

Authored id of the selected transition’s source state.

C#
public string FromStateName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:310

Name of the selected transition’s source state.

C#
public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.TransitionRow> GlobalTransitions

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:244

Transitions on the Any State plate, in authored evaluation order.

C#
public bool HasCondition

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:320

Whether the selected transition is guarded by a condition at all.

C#
public int HostedCompletedPassCount

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:347

How many hosted passes have completed in the observed run.

C#
public bool HostedEventsAmbiguous

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:345

Whether the success and failure events cannot be told apart, which blocks the transition.

C#
public string HostedFailureEventId

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:343

Event raised when the hosted tree fails, and the empty string when none is authored.

C#
public string HostedLifetime

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:339

Whether the hosted tree repeats or runs once.

C#
public BitQuirky.Behavior.Execution.BehaviorResultCode HostedResult

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:349

Result the hosted tree last reported.

C#
public bool HostedResultHeld

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:353

Whether the hosted result is being held until the state is left.

C#
public int HostedResultTick

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:351

Tick the hosted result was reported on, and -1 before the first result.

C#
public string HostedSuccessEventId

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:341

Event raised when the hosted tree succeeds, and the empty string when none is authored.

C#
public string HostedTreeAddress

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:331

Subgraph address the hosted tree is referenced by.

C#
public string HostedTreeFolder

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:329

Folder the hosted tree asset lives in.

C#
public BitQuirky.Behavior.Editor.StateHostedTreeKind HostedTreeKind

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:323

Whether the selected state hosts no tree, an inline tree, or a referenced one.

C#
public string HostedTreeName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:327

Name of the hosted tree.

C#
public bool HostedTreeResolves

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:335

Whether the hosted tree reference resolves to an asset.

C#
public string HostedTreeRootCaption

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:333

Caption shown on the hosted tree’s root card.

C#
public string HostedTreeRootId

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:325

Authored root node of the hosted tree.

C#
public bool IsAnyState

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:220

Whether the selection is the Any State plate.

C#
public bool IsEntry

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:218

Whether the selected state is the entry state.

C#
public bool IsLive

Source 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.

C#
public bool IsMachineReference

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:234

Whether the selection is a Referenced State Machine.

C#
public BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.SelectionKind Kind

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:210

Which kind of element the selection covers.

C#
public string MappedView

Source 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.

C#
public string MetaLine

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:216

Secondary identity line shown under the name.

C#
public string MinActiveSeconds

Source 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.

C#
public BitQuirky.Behavior.Nodes.BehaviorNodeParameterDescriptor MinActiveSecondsDescriptor

Source 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).

C#
public string Name

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:214

Authored name of the selected element.

C#
public string NodeId

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:212

Authored id of the selected element.

C#
public System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.TransitionRow> OutgoingTransitions

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:250

Transitions leaving the selected state, in authored evaluation order.

C#
public string OwningStateId

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:306

Authored id of the state that owns the selected action.

C#
public bool OwningStateIsEntry

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:308

Whether that owning state is the entry state.

C#
public string OwningStateName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:304

Name of the state that owns the selected action.

C#
public bool RequiresFiniteUpdate

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:238

Whether the selected state’s update group must finish rather than repeat.

C#
public string ToStateId

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:316

Authored id of the selected transition’s destination state.

C#
public string ToStateName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:314

Name of the selected transition’s destination state.

C#
public string TransitionEvaluation

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:226

When the selected transition is evaluated.

C#
public string TransitionEventId

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:357

Event id the selected transition fires on.

C#
public bool TransitionEventResolves

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:359

Whether that event id resolves in the graph.

C#
public string TransitionKind

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:240

Whether the selected transition switches or pushes.

C#
public string TransitionOnReturn

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:242

What a pushed transition does when the pushed machine returns.

C#
public string TransitionReentry

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:230

What the selected transition does when it re-enters its own state.

C#
public string TransitionResult

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:228

Result the selected transition requires from its source.

C#
public bool TransitionSourceIsAnyState

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:232

Whether the selected transition leaves the Any State plate.

C#
public bool TransitionSourceIsReference

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:236

Whether the selected transition leaves a Referenced State Machine.

C#
public string TransitionSourceStateName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:361

Name of the state the selected transition is evaluated from.

C#
public bool TransitionUsesEvent

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:355

Whether the selected transition fires on an event rather than a condition.

C#
public string UpdateActionExecution

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:254

Whether the update group runs its actions in sequence or in parallel.

C#
public string UpdateActionLifetime

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:256

Whether the update group repeats or runs once.

C#
public BitQuirky.Behavior.Diagnostics.BehaviorNodeExecutionStatus UpdateGroupStatus

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:281

Runtime status of the update group, and Resting outside Live.

C#
public uint UpdatePass

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:286

One-based Active Update pass identity; zero before the first pass.

C#
public bool UsesHostedTreeSource

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:337

Whether the state runs the hosted tree instead of its own action groups.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.SourceCompatibility

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:188-204

Underlying type: int

How the saved source stores the selected state’s action list.

C#
LegacyUnchanged = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:194

A saved legacy list is mapped into Active Update and left unchanged.

C#
LegacyUpgradeOnSave = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:197

An explicit upgrade was accepted and is waiting for its source commit.

C#
Phased = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:191

The state already stores explicit lifecycle groups.

C#
PhasedSaved = 3

Source 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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.StateHostedBehaviorTreeModel

Source 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.

C#
public const string ActionsUpdateSourceValue = "actions"

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:108-109

Authored Active Update source value selecting direct actions.

C#
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.

C#
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.

C#
public const BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind DefaultInDocumentRootKind = Sequence

Source 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.

C#
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.

C#
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.

C#
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.

C#
public const string OnceLifetimeValue = "once"

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:127

Authored value selecting a single hosted cycle.

C#
public const string RepeatLifetimeValue = "repeat"

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:130

Authored value selecting repeated hosted cycles.

C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

C#
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.

C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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.

C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.StateHostedTreeInfo

Source 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.

C#
public readonly string AssetAddress

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:48

Saved stable GUID or legacy project-relative address of the assigned asset.

C#
public readonly string AssetPath

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:51

Currently resolved project-relative asset path, or empty when missing.

C#
public readonly bool AssetResolves

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:60

Whether the saved asset identity still resolves to a project asset.

C#
public readonly string DisplayName

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:54

Persisted display name for the hosted tree.

C#
public readonly string FolderPath

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:57

Current project folder holding the assigned asset, or empty.

C#
public readonly BitQuirky.Behavior.Editor.StateHostedTreeKind Kind

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:39

How the hosted root is stored, if the state hosts one at all.

C#
public readonly BitQuirky.Behavior.Authoring.BehaviorSourceNodeKind RootKind

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:45

Authored kind of the hosted root node.

C#
public readonly string RootNodeId

Source 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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.StateHostedTreeKind

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:14-24

Underlying type: int

How a state’s Active Update hosted behavior tree is stored.

C#
InDocument = 2

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:23

The hosted root is authored inside this same document.

C#
None = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:17

The state owns no hosted behavior tree root.

C#
ProjectAsset = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/StateHostedBehaviorTreeModel.cs:20

The hosted root is a reference to a separate behavior tree project asset.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.StateMachineActionBindingChoice

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:306-368

One real operation route supplied to the State Machine lifecycle picker.

C#
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.

C#
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.

C#
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.

C#
public string IdentityToken { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:367

Gets the stable picker identity used for selection and deduplication.

C#
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.

C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.StateMachineActionBindingKind

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:11-18

Underlying type: int

How a service-backed State Machine action reports completion.

C#
Deferred = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:17

The action waits for the service’s explicit completion.

C#
Immediate = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeEditCommands/EditActionBindingCommand.cs:14

The service command completes when it is emitted.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.StateMachineActionBindingRequest

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:371-404

Immutable operation choice made from the State Machine lifecycle picker.

C#
public string ActionId { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:391

Gets the existing operation ID, or empty when assigning one.

C#
public BitQuirky.Behavior.Editor.StateMachineActionBindingKind BindingKind { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:400

Gets the selected service completion contract.

C#
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.

C#
public BitQuirky.Behavior.Authoring.BehaviorSourceMemberOperationKind OperationKind { get; }

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:403

Gets the selected member operation family.

C#
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.

C#
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)”
C#
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.

Category: Low-level runtime

C#
enum BitQuirky.Behavior.Editor.StateMachineActionChoiceKind

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:296-303

Underlying type: int

How one State Machine lifecycle choice resolves its executable operation.

C#
MemberOperation = 1

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:302

A shared member operation authored through the existing member picker.

C#
ServiceAdapter = 0

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:299

A declared external service adapter.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.StateMachineActionPickerPopover

Source 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.

C#
public event System.Action<BitQuirky.Behavior.Editor.StateMachineActionBindingRequest> BindingRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:444

Raised when one available behavior is chosen.

C#
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)”
C#
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)”
C#
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.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.StateMachineAddPopover

Source 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.

C#
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.

C#
public event System.Action<UnityEngine.Vector2> AnyStateRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:69

Raised with the position of the machine’s unnamed Any State plate.

C#
public event System.Action<UnityEngine.Vector2, string> ReferenceRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:72

Raised with the position and validated name of a requested reference.

C#
public event System.Action<UnityEngine.Vector2, string> StateRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:66

Raised with the position and validated name of a requested state.

C#
public StateMachineAddPopover()

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineAddPopover.cs:78-130

Creates the State Machine named-element picker.

C#
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)”
C#
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.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.StateMachineFirstUseCard

Source 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.

C#
public event System.Action StateRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineFirstUseCard.cs:27

Raised when the user requests the first state.

C#
public StateMachineFirstUseCard()

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineFirstUseCard.cs:30-73

Creates the empty-machine prompt.

C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.StateMachineReferenceEditor

Source 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.

C#
public event System.Action<string> OpenModuleRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:93

Raised with the resolved shared module asset path the host must open.

C#
public event System.Action<UnityEngine.UIElements.VisualElement, System.Collections.Generic.IReadOnlyList<BitQuirky.Behavior.Member.BehaviorMemberVariableCandidate>, BitQuirky.Behavior.Authoring.BehaviorSourceTypeIdentity, System.Action<string>> VariablePickerRequested

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:98-102

Relays the shared typed blackboard-variable picker request used by Eligibility.

C#
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)”
C#
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)”
C#
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)”
C#
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.

Category: Low-level runtime

C#
class BitQuirky.Behavior.Editor.StateMachineReferenceLiveData

Source 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.

C#
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.

C#
public int ActiveMachineIndex { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:43

Index of the machine currently executing.

C#
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.

C#
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.

C#
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.

C#
public int NestedMachinePhase { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:45

Current nested machine lifecycle phase, as a BehaviorNestedMachinePhase value.

C#
public int NestedMachineResult { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:47

Last nested machine result, as a BehaviorMachineResult value.

C#
public int SuspensionDepth { get; set; }

Source declaration: Packages/io.bitquirky.behavior/Editor/StateMachineReferenceEditor.cs:49

Current Push suspension depth; zero when nothing is suspended.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.StateRow

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:57-76

One row in the States section.

C#
public readonly string ActionName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:66

Name of the state’s representative action, and the empty string when it has none.

C#
public readonly string Id

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:60

Authored id of the state.

C#
public readonly bool IsEntry

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:64

Whether the state is the machine’s entry state.

C#
public readonly string Name

Source 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)”
C#
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.

Category: Low-level runtime

C#
readonly struct BitQuirky.Behavior.Editor.BehaviorTreeStateMachineInspector.TransitionRow

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:79-98

One outgoing transition in authored evaluation order.

C#
public readonly string DestinationName

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:86

Name of the state the transition leads to.

C#
public readonly string Id

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:82

Authored id of the transition.

C#
public readonly string Kind

Source declaration: Packages/io.bitquirky.behavior/Editor/BehaviorTreeStateMachineInspector.cs:88

Transition kind token shown as the row badge.

C#
public readonly string Name

Source 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)”
C#
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

Full-size image