Esempio n. 1
0
 public void OpenLoseScreen()
 {
     Time.timeScale = 1f;
     PanelWin.SetActive(false);
     PanelLose.SetActive(true);
     JoystickCanvas.SetActive(false);
     minimap.SetActive(false);
 }
Esempio n. 2
0
 public void OpenWinScreen()
 {
     Time.timeScale = 1f;
     winText.text   = "Parabéns, você salvou " + GameObject.Find("Player").GetComponent <Player>().money + " ovos de tartarugas!\n" + winText.text;
     PanelWin.SetActive(true);
     PanelLose.SetActive(false);
     JoystickCanvas.SetActive(false);
     minimap.SetActive(false);
 }
Esempio n. 3
0
 public void Unpause()
 {
     Time.timeScale = 1f;
     PanelPause.SetActive(false);
     JoystickCanvas.SetActive(true);
 }