![]() | Sequence Methods |
The Sequence 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.
(Overrides BaseTaskTTaskDataActivate(IAgentData, IDecisionData).) |
![]() | Deactivate |
Deactivation.
(Overrides BaseTaskTTaskDataDeactivate(IAgentData).) |
![]() | Decide |
Depending on the group policy of its parent, the floating point return value indicates whether the task will be activated.
(Overrides TaskDecide(IAgentData, IDecisionData).) |
![]() | GetActiveTasks |
Generates a collection of active task nodes under this task. Used for debugging only.
(Overrides TaskGetActiveTasks(IAgentData, TaskNode, ICollectionTaskNode).) |
![]() | Update |
Per frame update.
(Overrides TaskUpdate(IAgentData).) |