private static void OnEscapeKeyDown() { var transition = new MainMenuController.TransitionData() { State = MainMenuController.State.Play }; TransitionManager.TransferToMainMenu(transition); }
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); }