private IEnumerator GameWonRoutine() { victoryUI.SetBool(inScreen, true); mainGUI.SetActive(false); yield return(new WaitForSeconds(2)); victoryUI.SetBool(inScreen, false); yield return(new WaitForSeconds(0.5f)); reset.ResetGame(); }