How to create a private room using Photon?

The whole answer can be found below.

Please note: The Photon forum is closed permanently. After many dedicated years of service we have made the decision to retire our forum and switch to read-only: we've saved the best to last! And we offer you support through these channels:

Try Our
Documentation

Please check if you can find an answer in our extensive documentation on PUN.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Read More on
Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

How to create a private room using Photon?

LionMan
2020-06-20 11:07:26

I want to create an option for my multiplayer game where a player can generate a random code, and others who have that code can join his room. I'm using Photon Pun 2 in Unity, c#!

Comments

JohnTube
2020-06-22 09:47:03

Hi @LionMan,

Thank you for choosing Photon!

Start here.

Back to top