How can I get current room's name with PUN 2
The whole answer can be found below.
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).
How can I get current room's name with PUN 2
hugojobe
2021-02-19 12:58:39
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
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.
Back to top