Example #1
0
 public void GoBack()
 {
     LevelConfigPanel.SetActive(false);
     CreditsPanel.SetActive(false);
     ExitConfirmationPanel.SetActive(false);
     TutorialPanel.SetActive(false);
     MainMenuPanel.SetActive(true);
 }
Example #2
0
    // Start is called before the first frame update


    // Update is called once per frame



     void MenuConsole()
    {
        MenuPanel.SetActive(true);
        if (TutorialPanel != null)
        {
            TutorialPanel.SetActive(false);
        }
        IntroManager.phase = Phase.Menu;
    }
Example #3
0
 void Start()
 {
     //PlayerPrefs.DeleteAll();
     MainMenuPanel.SetActive(true);
     LevelConfigPanel.SetActive(false);
     CreditsPanel.SetActive(false);
     TutorialPanel.SetActive(false);
     //GlowColor = PlayerPrefs.GetString("GlowColor");
     Sound = PlayerPrefs.GetInt("Sound");
     Level = PlayerPrefs.GetInt("Level");
     CheckSound();
     //CheckColor();
     CheckLevel();
 }
Example #4
0
 public void OpenTutorial()
 {
     TutorialPanel.SetActive(true);
     MainMenuPanel.SetActive(false);
 }