public void UnregisterState(FSMState <T, U> state) { stateRef.Remove(state.StateID); }
public void Awake() { CurrentState = null; PreviousState = null; GlobalState = null; }
public FSMState <T, U> RegisterState(FSMState <T, U> state) { state.RegisterState(Owner); stateRef.Add(state.StateID, state); return(state); }