restarting network rpc
Options
Comments
-
When you call PhotonNetwork.LeaveRoom() and you are in a room (ie PhotonNetwork.room!=null), PUN makes a call to OnLeftRoom and reconnect you automatically in the lobby.
So you can list the availables rooms with PhotonNetwork.GetRoomList(), and join a room without making anything special (just have to switch on/off the listing of the rooms when you leave/enter a room).0