Example #1
0
 // Call this to begin countdown and actual level.
 // Hides intro text and displays countdown text and plays countdown sound.
 public void StartLevel()
 {
     lvlState = 1;
     countdownText.SetActive(true);
     ResizeTextBG(GetRect(countdownText));
     sound.PlayDelayed(0.0f);
     StartCoroutine(CountDown());
     StartCoroutine(Client.UpdateServerGameStarted(maxGameTime));
 }