![]() | LoopDecorator Methods |
The LoopDecorator 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 DecoratorActivate(IAgentData, IDecisionData).) |
![]() | Deactivate |
Deactivation.
(Overrides DecoratorDeactivate(IAgentData).) |
![]() | Decide |
Depending on the group policy of its parent, the floating point return value indicates whether the task will be activated.
(Overrides DecoratorDecide(IAgentData, IDecisionData).) |
![]() | Update |
Per frame update.
(Overrides DecoratorUpdate(IAgentData).) |