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); }
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); }