// ========== Private methods ========== private IEnumerator CountdownStartGame() { while (_countdownTime > 0) { yield return(new WaitForSeconds(0.1f)); FloatTextController.DoFloatStaticText(_countdownTime.ToString(), Vector3.zero, Vector3.one * 2, 0.8f, Colors.TURQUOISE); yield return(new WaitForSeconds(0.9f)); _countdownTime -= 1; } _isPlaying = true; }