How can I get current room's name with PUN 2

Hello,

I'm making a multiplayer game with PUN 2 and I would like to display the room name in the method "OnJoinedRoom"
I serached during hours and I didn't find anything.

Can you help me please ?

Thanks in advance !

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @hugojobe,

    Thank you for choosing Photon!
    PhotonNetwork.CurrentRoom.Name
    
    I serached during hours and I didn't find anything.
    I highly recommend you start PUN Basics Tutorial and complete it then start any other YouTube tutorial for PUN2 that is 'popular enough' and 'complete'. We list a few here.