Пример #1
0
    public void Back()
    {
        if (OptionMenu.activeSelf)
        {
            OptionMenu.SetActive(false);
            MainMenu.SetActive(true);
        }

        if (CreditsMenu.activeSelf)
        {
            CreditsMenu.SetActive(false);
            MainMenu.SetActive(true);
        }
    }
Пример #2
0
 void ExitOnClick()
 {
     MiniGamesMenu.SetActive(false);
     AboutMenu.SetActive(false);
     CreditsMenu.SetActive(false);
 }
Пример #3
0
 void CreditsOnClick()
 {
     MiniGamesMenu.SetActive(false);
     AboutMenu.SetActive(false);
     CreditsMenu.SetActive(true);
 }
Пример #4
0
 public void Credits()
 {
     MainMenu.SetActive(false);
     CreditsMenu.SetActive(true);
 }
Пример #5
0
 public void creditMenu()
 {
     CreditsMenu.SetActive(true);
     this.gameObject.SetActive(false);
 }