private void Update() { if (SceneManager.GetActiveScene().name != "Final") { if (timer > 0) { timer -= Time.deltaTime; timerText.text = timer.ToString("F0"); } if (timer <= 0 && timerRunning == true) { timerRunning = false; answerInputfield.interactable = false; timerText.text = string.Empty; if (SceneManager.GetActiveScene().name == "Letters-Single") { wordChecker.SearchWord(); } //parse input field } } scoreText.text = score.ToString(); }