Ejemplo n.º 1
0
 /// <summary>
 /// Called by Photon if the client leaves the lobby
 /// </summary>
 public override void OnLeftLobby()
 {
     Debug.Log("Left Lobby");
     LobbyJoinStatusChanged?.Invoke(this, EventArgs.Empty);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Called by Photon if the client leaves the lobby and joins a room
 /// It is necessary to react to this in order to monitor all possible ways for leaving the lobby
 /// OnLeftLobby is not called if the client joins a room
 /// </summary>
 public override void OnJoinedRoom()
 {
     LobbyJoinStatusChanged?.Invoke(this, EventArgs.Empty);
 }