Close room even if others are in it?
Options
Comments
-
Hi Doomie,
You can use Room.open property for closing the room.0 -
Can you elaborate on that please as room.open doesn't exist that I can see.
Thanks0 -
Use PhotonNetwork.room for getting and accessing the properties of the room you are currently in.0
-
Setting room.open to false will not kick players from a room. It will keep others from joining. The "visible" property removes the room from the lobby's listing.
You can kick everyone by RPC, if you wanted to. Just send a RPC and implement the method for it to leave the room.0