Esempio n. 1
0
 public void UpdateTime(float value, float max)
 {
     for (int i = 0; i < lobbySlots.Length; ++i)
     {
         if (lobbySlots[i] != null)
         {                //there is maxPlayer slots, so some could be == null, need to test it before accessing!
             LobbyPlayer p = (lobbySlots[i] as LobbyPlayer);
             p.RpcUpdateCountdown(value, max);
         }
     }
 }