OnClientExitLobby() public method

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

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