IEnumerator CountdownCoroutine() { _PressAStart.SetActive(false); _textCountdown.gameObject.SetActive(true); sounds[1].PlayOneShot(clips[1]); _textCountdown.text = "3"; yield return(new WaitForSeconds(1.0f)); _textCountdown.text = "2"; yield return(new WaitForSeconds(1.0f)); _textCountdown.text = "1"; yield return(new WaitForSeconds(1.0f)); _textCountdown.text = "GO!"; yield return(new WaitForSeconds(1.0f)); _textCountdown.text = ""; _textCountdown.gameObject.SetActive(false); yield return(new WaitForSeconds(0.1f)); StartCoroutine("RenewTime"); sounds[0].Play(); mState = STATE.PLAY; PressA = true; _Right.OnRight(); _Left.OnLeft(); }