csharp
public interface INestedTreeTaskA task that runs a tree of its own, and therefore needs a slot to keep it in.
Remarks
What BehaviorTreeCompiler looks for to decide whether a node needs a nested-instance slot. It is an interface rather than a flag on the node because the decision belongs to the task — a project's own "run the tree named by this key" task wants the same slot.
Methods (1)
BehaviorTreeTemplate? Resolve(in AgentContext context)Which tree to run, given the agent.
Used by (2)
- CompileStateVixen.Ai
- RunSubtreeDynamicTaskVixen.Ai