OnClientEnterLobby() public method

This is a hook that is invoked on all player objects when entering the lobby.

public OnClientEnterLobby ( ) : void
return void
コード例 #1
0
 private void CallOnClientEnterLobby()
 {
     this.OnLobbyClientEnter();
     for (int i = 0; i < this.lobbySlots.Length; i++)
     {
         NetworkLobbyPlayer networkLobbyPlayer = this.lobbySlots[i];
         if (!(networkLobbyPlayer == null))
         {
             networkLobbyPlayer.readyToBegin = false;
             networkLobbyPlayer.OnClientEnterLobby();
         }
     }
 }