Click or drag to resize
CompositeTTaskDataActivateChild Method
Activates the passed child. Does no index range checking.

Namespace: Slash.AI.BehaviorTrees.Implementations.Composites
Assembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntax
protected ExecutionStatus ActivateChild(
	int childIdx,
	IAgentData agentData,
	IDecisionData decisionData
)

Parameters

childIdx
Type: SystemInt32
Child index. Has to be in correct range.
agentData
Type: Slash.AI.BehaviorTrees.InterfacesIAgentData
Agent data.
decisionData
Type: Slash.AI.BehaviorTrees.InterfacesIDecisionData
Decision data from the decide function.

Return Value

Type: ExecutionStatus
Execution status after the activation.
See Also