Example #1
0
        /// <summary>
        /// Starts the closing procedure of current state. Closing procedure us finished by
        /// calling SetTransitionOutFinished.
        /// </summary>
        private void CloseCurrentState()
        {
            _currentTransition = TransitionType.Exit;

            _currentState.PerformExit();
        }