How do I make a custom URL for PUN using WebGL

We are currently using PUN and building a WebGL package. Once we create a room, we would like it to create a custom URL that we can send to someone and they can just click the URL and it will open the window and go right into our room. Not sure on what we need to do to build the URL. Any help would be appreciated.

Best Answer

  • Tobias
    Tobias admin
    Answer ✓

    You can put the room name into the url. Any value you can access from JS will do. Then pipe that into the game and use JoinOrCreateRoom() with said room name.

Answers

  • Tobias
    Tobias admin
    Answer ✓

    You can put the room name into the url. Any value you can access from JS will do. Then pipe that into the game and use JoinOrCreateRoom() with said room name.