private void Start()
 {
     activeState = initialStateSelector.SelectNode();
     activeState.OnStateEnter();
     activeState.SetParentState(this);
     AIHandlerHSMs.AddMachine(this);
 }
예제 #2
0
 public override void OnStateEnter()
 {
     base.OnStateEnter();
     activeState = initialStateSelector.SelectNode();
     activeState.OnStateEnter();
     activeState.SetParentState(this);
 }