void Update() { CheckForMovement(); UpdateTexts(); if (roundTimer > 0) { UpdateHintArray(); if (Input.GetMouseButtonDown(0)) { ClickMouseAction(); } CheckShowHint(); CheckForSolution(); UpdateRoundTimer(); } else { timeUp = true; if (highScoreController.checkedTopTen) { if (highScoreController.submitted) { highScoreController.score = 0; highScoreController.askForName = false; highScoreController.submitted = false; RestartLevel(); } else { highScoreController.askForName = true; Time.timeScale = 0; } } else { highScoreController.CheckNewScore(); } } }