Click or drag to resize
Sequence Methods

The Sequence type exposes the following members.

Methods
  NameDescription
Public methodActivate
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).)
Public methodDeactivate
Deactivation.
(Overrides BaseTaskTTaskDataDeactivate(IAgentData).)
Public methodDecide
Depending on the group policy of its parent, the floating point return value indicates whether the task will be activated.
(Overrides TaskDecide(IAgentData, IDecisionData).)
Public methodGetActiveTasks
Generates a collection of active task nodes under this task. Used for debugging only.
(Overrides TaskGetActiveTasks(IAgentData, TaskNode, ICollectionTaskNode).)
Public methodUpdate
Per frame update.
(Overrides TaskUpdate(IAgentData).)
Top
See Also