- Home /
Question by
Algebrapixel · Apr 25, 2020 at 04:23 AM ·
multiplayerphotonroom
How can i close or make it invisible photon multiplayer room?
i wanted to close a photon multiplayer room, is there any function or any way to do this? i wanted to close the room once the game has started so other cannot join
i have read that you can use
PhotonNetwork.room.open = false;
but it seems deprecated
Comment
Answer by nvnjls · Aug 14, 2020 at 01:23 AM
PhotonNetwork.CurrentRoom.IsOpen = false; // makes room close PhotonNetwork.CurrentRoom.IsVisible = false; // makes room invisible to random match making