Create a room with a password

Hi Photon,

How can I create a private room that can only be entered with a password?

Example:
1. It shouldn't let players join when calling 'JoinRandomRoom()'.
2. It should only let players enter the room when specifying room name (that acts like a password in this case), like: 'JoinRandomRoom(roomPassword)'.

Comments