public void Pause() { if (!isPaused) { towerManager.DisableTowerInfo(); isPaused = true; HideShowUI(); Time.timeScale = 0; gameMenu.SetActive(true); if (isComplete) { gameMenuText.text = "Level complete"; GameObject.Find("Resume").SetActive(false); } } }