Check if player is in a room
Options
Hi all,
My question is simple: How do I check if a PUN player is in a room? Not when he joins a room, but if he is in a room.
I want to do this as validation for a mouse lock script. I want a section in a script to run only if the player is in a room. I wish to do this on a different script for modularity.
Any solutions?
My question is simple: How do I check if a PUN player is in a room? Not when he joins a room, but if he is in a room.
I want to do this as validation for a mouse lock script. I want a section in a script to run only if the player is in a room. I wish to do this on a different script for modularity.
Any solutions?
0
Best Answer
-
1
Answers
-
0
-
1
-
Thank you for your answers.
0