Click or drag to resize
Task Methods

The Task 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.
Public methodDeactivate
Deactivation.
Public methodDecide
Depending on the group policy of its parent, the floating point return value indicates whether the decider will be activated.
Public methodEquals(Object)
Determines whether the specified BaseTask is equal to the current BaseTask.
(Overrides ObjectEquals(Object).)
Public methodEquals(Task)
Determines whether the specified Task is equal to the current Task.
Public methodFindTasks
Searches for tasks which forfill the passed predicate.
Public methodGetActiveTasks
Generates a collection of active task nodes under this task. Used for debugging only.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Protected methodInvokeOnSuccess
Invoke callback when decider finished successful.
Public methodUpdate
Per frame update.
Top
See Also