Exemple #1
0
    private IEnumerator RoundPlaying()
    {
        m_MessageText.text = string.Empty;

        m_Time = 0f;
        while (!m_GameMode.IsEndOfRound(m_Tanks) && m_Time < m_MaxRoundTime)
        {
            m_ScoreText.text = GetScoreText();
            m_TimeText.text  = GetTimeText();
            yield return(null);
        }
    }