 | CompositeTTaskDataGetActiveChildTasks Method |
Gets the active tasks of the passed child. Does no index range checking.
Namespace: Slash.AI.BehaviorTrees.Implementations.CompositesAssembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntaxprotected void GetActiveChildTasks(
int childIdx,
IAgentData agentData,
TaskNode childTaskNode,
ref ICollection<TaskNode> activeTasks
)
Protected Sub GetActiveChildTasks (
childIdx As Integer,
agentData As IAgentData,
childTaskNode As TaskNode,
ByRef activeTasks As ICollection(Of TaskNode)
)
protected:
void GetActiveChildTasks(
int childIdx,
IAgentData^ agentData,
TaskNode^ childTaskNode,
ICollection<TaskNode^>^% activeTasks
)
member GetActiveChildTasks :
childIdx : int *
agentData : IAgentData *
childTaskNode : TaskNode *
activeTasks : ICollection<TaskNode> byref -> unit
Parameters
- childIdx
- Type: SystemInt32
Child index. Has to be in correct range. - agentData
- Type: Slash.AI.BehaviorTrees.InterfacesIAgentData
Agent data. - childTaskNode
- Type: Slash.AI.BehaviorTrees.TreeTaskNode
Task node of child. - activeTasks
- Type: System.Collections.GenericICollectionTaskNode
Collection of active tasks.
See Also