private void FadeCallback(UIScreen screen, UIManager.UICommand command) { // screen has finished fading out, load the main menu LoadMainMenu(); }
void FadeCallback(UIScreen screen, UIManager.UICommand command) { // fade out has completed ApplicationStateManager.Instance.PushState(ApplicationStates.Game); ApplicationStateManager.Instance.PopState(ApplicationStates.MainMenu); }