Пример #1
0
 void Update()
 {
     if (isServer && votes.Count >= NetworkServer.connections.Count)
     {
         int selection = votes.Pick();
         votes.Clear();
         RpcSelectDecision(selection);
     }
 }