예제 #1
0
 public void returnToMenu()
 {
     CreditsButtonHandler.Play("FadeIn");
     LogoHandler.Play("FadeIn");
     MenuButtonsController.Play("MainMenuButtonsFadeIn");
     CreditsTextHandler.Play("FadeOut");
     CreditsBackButtonHandler.Play("FadeOut");
     MainMenuController.gameObject.SetActive(true);
     //OptionsMenuController.gameObject.SetActive(true);
     //GalleryMenuController.gameObject.SetActive(true);
 }
예제 #2
0
 public void fadeToCredits()
 {
     CreditsButtonHandler.Play("FadeOut");
     LogoHandler.Play("FadeOut");
     MenuButtonsController.Play("MainMenuFadeOut");
     CreditsTextHandler.Play("FadeIn");
     CreditsBackButtonHandler.Play("FadeIn");
     MainMenuController.gameObject.SetActive(false);
     OptionsMenuController.gameObject.SetActive(false);
     GalleryMenuController.gameObject.SetActive(false);
 }