Leaving room in Photon
Hi everyone, I create a simple multiplayer game using PUN2 where one player can create a room with a specific name and another player can join this room by clicking its name in a simple list. After that I add an "exit button" that allow the player to leave the room before the start of the game using PhotonNetwork.LeaveRoom();
because I thounght that this code make the room re-joinable but the room is no more joinable after the leave of the player, indipendently if the player is the masterclient or not. So my question is: is there any method to make a room re-joinable after one player leaves it? Or in case that's not possible, is there any method that I can use to force to leave every player and close the room when someone click "exit button"? Thanks in advance and sorry for my bad English :)
Your answer
Follow this Question
Related Questions
PhotonMono spawns instead of player. 0 Answers
PhotonOnSerializeView() Only working sometimes 0 Answers
Photon ccu question 0 Answers