public void ResetStateMachine(T entity, FSMStateFactory <T> factory) { m_Entity = entity; m_StateFactory = factory; m_CurrentState = m_PreviousState = m_GlobalState = null; }
public FSMStateMachine(T entity) { m_Entity = entity; m_CurrentState = m_PreviousState = m_GlobalState = null; }