public void ChangeState(BaseState state) { _curState.exit(this); _curState = state; _curState.enter(this); }
private void Start() { _curState = idleState; ChangeState(idleState); _curPhase = 0; }