/// <summary> /// Starts the closing procedure of current state. Closing procedure us finished by /// calling SetTransitionOutFinished. /// </summary> private void CloseCurrentState() { _currentTransition = TransitionType.TransitionOut; _currentState.TransitionOut(); }