public AIExecutor(AIAgent agent) { this.agent = agent; stateMachine = new AIStateMachine(agent); }
public virtual void Enter(AIStateMachine stateMachine, Action SuccessCallback, Action FailureCallback) { this.stateMachine = stateMachine; this.SuccessCallback = SuccessCallback; this.FailureCallback = FailureCallback; }