 | ITaskDecide Method |
Depending on the group policy of its parent, the floating point return value indicates whether the decider will be activated.
Namespace: Slash.AI.BehaviorTrees.InterfacesAssembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntaxfloat Decide(
IAgentData agentData,
ref IDecisionData decisionData
)
Function Decide (
agentData As IAgentData,
ByRef decisionData As IDecisionData
) As Single
float Decide(
IAgentData^ agentData,
IDecisionData^% decisionData
)
abstract Decide :
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 decider will be activated.
See Also