Esempio n. 1
0
 public override void OnLobbyServerDisconnect(NetworkConnection conn)
 {
     //base.OnLobbyServerDisconnect(conn);
     for (int i = 0; i < lobbySlots.Length; ++i)
     {
         LobbyPlayer p = (LobbyPlayer)lobbySlots[i];
         if (p != null)
         {
             p.RpcRemove();
         }
     }
     GetComponent <Host>().SendPeerInfo();
     LobbyServerDisconnect();
 }