The blackboard value serves as both the type source and the default
initial state shallow-copied for each entity via createBehaviorTree.
Nested objects and arrays remain shared unless an entity-specific override
replaces them; provide fresh mutable nested values when entities need
independent state.
Define a behavior tree with a typed blackboard.
The
blackboardvalue serves as both the type source and the default initial state shallow-copied for each entity viacreateBehaviorTree. Nested objects and arrays remain shared unless an entity-specific override replaces them; provide fresh mutable nested values when entities need independent state.