コード例 #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);
 }