public void OpenLoseScreen() { Time.timeScale = 1f; PanelWin.SetActive(false); PanelLose.SetActive(true); JoystickCanvas.SetActive(false); minimap.SetActive(false); }
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); }
public void Unpause() { Time.timeScale = 1f; PanelPause.SetActive(false); JoystickCanvas.SetActive(true); }