예제 #1
0
 public AIExecutor(AIAgent agent)
 {
     this.agent   = agent;
     stateMachine = new AIStateMachine(agent);
 }
예제 #2
0
 public virtual void Enter(AIStateMachine stateMachine, Action SuccessCallback, Action FailureCallback)
 {
     this.stateMachine    = stateMachine;
     this.SuccessCallback = SuccessCallback;
     this.FailureCallback = FailureCallback;
 }