Play

Play(BehaviourTreeInternal, TreeNodeBase, Action<BehaviourTreeExecutor, NodeStatus>)

public void Play(BehaviourTreeInternal behaviourTree, TreeNodeBase node, Action<BehaviourTreeExecutor, NodeStatus> onFinish) ;

Description

Start playing.

Parameters

Parameter Name Description
behaviourTree Behaviour tree to play
node First root node to execute
onFinish Callback when root node execution finishes