public void ResumeButtonClicked() { Time.timeScale = 1; pauseButton.SetActive(true); levelGui.gameObject.SetActive(false); isPaused = false; levelEndTint.DoCompleteTransition(); levelTimer.Play(); }