Represents a runtime instance of a [BehaviorTree] resource.
Can be created using the [method BehaviorTree.instantiate] method.
Returns the agent of the behavior tree instance.
Returns the blackboard of the behavior tree instance.
Returns the execution status of the last update.
Returns the scene [Node] that owns this behavior tree instance.
Returns the root task of the behavior tree instance.
Returns the file path to the behavior tree resource that was used to create this instance.
Returns [code]true[/code] if the behavior tree instance is properly initialized and can be used.
Registers the behavior tree instance with the debugger.
Unregisters the behavior tree instance from the debugger. This is typically not necessary, as the debugger will automatically unregister the instance when it is freed.
Ticks the behavior tree instance and returns its status.
If [code]true[/code], adds a performance monitor for this instance to "Debugger->Monitors" in the editor.
Emitted when the behavior tree instance is freed. Used by debugger to unregister.
Emitted when the behavior tree instance has finished updating.