How to create and then join a room?

Options
Basically i want to create a room with a null room name, and then join that room. How can i accomplish this?

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @LeytonMate,

    A client who creates a room automatically joins it.
    If the client passes a null room name when creating it, the server will assign a GUID as room name.
    You need to call PhotonNetwork.CreateRoom(null).