public void TogglePause() { tsGameplay.TogglePause(); tsBackground.TogglePause(); hat.Toggle(); pauseMenu.SetActive(!pauseMenu.activeSelf); }
private void TogglePause() { timeScaleGameplay.TogglePause(); pauseMenu.SetActive(!pauseMenu.activeSelf); }
public void TogglePause() { tsGameplay.TogglePause(); tsBackground.TogglePause(); hat.Toggle(); pauseMenu.SetActive(!pauseMenu.activeSelf); }
private void TogglePause() { timeScaleGameplay.TogglePause(); pauseMenu.SetActive(!pauseMenu.activeSelf); }