 | DecoratorDecideChild Method |
Let's the child decide.
Namespace: Slash.AI.BehaviorTrees.Implementations.DecoratorsAssembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntaxprotected float DecideChild(
IAgentData agentData,
ref IDecisionData decisionData
)
Protected Function DecideChild (
agentData As IAgentData,
ByRef decisionData As IDecisionData
) As Single
protected:
float DecideChild(
IAgentData^ agentData,
IDecisionData^% decisionData
)
member DecideChild :
agentData : IAgentData *
decisionData : IDecisionData byref -> float32
Parameters
- agentData
- Type: Slash.AI.BehaviorTrees.InterfacesIAgentData
Agent data. - decisionData
- Type: Slash.AI.BehaviorTrees.InterfacesIDecisionData
Decision data to use in activate method.
Return Value
Type:
Single Floating point value used to decide if the task will be activated.
See Also