![]() | BaseTaskTTaskData Class |
Namespace: Slash.AI.BehaviorTrees.Implementations
[SerializableAttribute] public class BaseTask<TTaskData> : Task where TTaskData : new(), ITaskData
The BaseTaskTTaskData type exposes the following members.
Name | Description | |
---|---|---|
![]() | BaseTaskTTaskData | Initializes a new instance of the BaseTaskTTaskData class |
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 TaskActivate(IAgentData, IDecisionData).) |
![]() | Deactivate |
Deactivation.
(Overrides TaskDeactivate(IAgentData).) |
![]() | Equals(Object) | (Overrides TaskEquals(Object).) |
![]() | Equals(BaseTaskTTaskData) |
Determines whether the specified BaseTask is equal to the current BaseTask.
|
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Overrides TaskGetHashCode.) |