Example #1
0
 public void SetState02(StateAI _state)
 {
     if (state02 != null)
     {
         state02.ExitAction();
     }
     state02 = _state;
     state02.EntryAction();
 }
Example #2
0
 public void SetState01(StateAI _state)
 {
     if (state01 != null)
     {
         state01.ExitAction();
     }
     state01 = _state;
     state01.EntryAction();
 }