示例#1
0
 bool IsEveryoneReady()
 {
     if (NetworkManager.inRoom)
     {
         var players = NetworkManager.net.CurrentRoom.Players;
         if (players.Count <= 1)
         {
             return(false);              // +2
         }
         return(ClientEntity.GetAllLobbyStatus());
     }
     return(ClientEntity.lobbyStatus.GetLocal());
 }