public void ChangeState(CombatState _newState) { m_currentState.OnStateExit(this); _newState.OnStateEnter(this); m_currentState = _newState; }
private void Start() { m_currentState = m_startState; m_currentState.OnStateEnter(this); }