Пример #1
0
 void Update()
 {
     counter();
     if (players.AllReady())
     {
         allowNewGame = true;
     }
     if (allowNewGame && !gameRunning && Network.isServer && players.Count > 1)
     {
         counter      = TimerOff;
         allowNewGame = false;
         NewGame();
     }
 }