public void TimeGo() { ThisAudio.clip = buttonClick; ThisAudio.Play(); Time.timeScale = 1; TimeStop_Screen.SetActive(false); RemoveCanvas.SetActive(true); }
public void TimeStop() { RemoveCanvas.SetActive(false); ThisAudio.clip = buttonClick; ThisAudio.Play(); if (!TimeStop_Screen.activeSelf) { TimeStop_Screen.SetActive(true); Time.timeScale = 0; } }