![]() | ITask Interface |
Namespace: Slash.AI.BehaviorTrees.Interfaces
The ITask type exposes the following members.
Name | Description | |
---|---|---|
![]() | Activate |
Activation. This method is called when the task was chosen to be executed. It's called right before the first update of the task. The task can setup its specific task data in here and do initial actions.
|
![]() | Deactivate |
Deactivation.
|
![]() | Decide |
Depending on the group policy of its parent, the floating point return value indicates whether the decider will be activated.
|
![]() | FindTasks |
Searches for tasks which forfill the passed predicate.
|
![]() | GetActiveTasks |
Generates a collection of active task nodes under this task. Used for debugging only.
|
![]() | Update |
Per frame update.
|