Пример #1
0
 public void UnregisterState(FSMState <T, U> state)
 {
     stateRef.Remove(state.StateID);
 }
Пример #2
0
 public void Awake()
 {
     CurrentState  = null;
     PreviousState = null;
     GlobalState   = null;
 }
Пример #3
0
 public FSMState <T, U> RegisterState(FSMState <T, U> state)
 {
     state.RegisterState(Owner);
     stateRef.Add(state.StateID, state);
     return(state);
 }