private void ResetCurrentVariables() { currentScoreText.currentScore = 0; currentScoreText.GetComponent <Text>().text = currentScoreText.currentScore.ToString(); multiplierText.currentMultiplier = multiplierText.MAX_MULTIPLIER; multiplierText.GetComponent <Text>().text = "x " + multiplierText.MAX_MULTIPLIER.ToString(); timeBarText.currentSeconds = timeBarText.maxSeconds; timeBarText.GetComponent <Text>().text = timeBarText.maxSeconds.ToString() + "s"; timeBarText.currentSeconds = 30; timeBarText.StopTimer(); }