private static void OnEscapeKeyDown()
        {
            var transition = new MainMenuController.TransitionData()
            {
                State = MainMenuController.State.Play
            };

            TransitionManager.TransferToMainMenu(transition);
        }
Ejemplo n.º 2
0
 public static void TransferToMainMenu(MainMenuController.TransitionData data)
 {
     MainMenuController.TransitionData_ = data;
     Application.LoadLevel("MainMenu");
 }
 private static void OnEscapeKeyDown()
 {
     var transition = new MainMenuController.TransitionData() {State = MainMenuController.State.Play};
     TransitionManager.TransferToMainMenu(transition);
 }