Click or drag to resize
TaskDecide 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.Implementations
Assembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntax
public virtual float Decide(
	IAgentData agentData,
	ref IDecisionData decisionData
)

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.

Implements

ITaskDecide(IAgentData, IDecisionData)
See Also