Hello All!
I am trying to set the SetUserVariables before the user joins the room. I am doing this because I need to define what type of player and color the user has selected remotely.
For example: I logged into a room as a "Man" and color "Blue". I have set the SetUserVariables for this: playerType: Man, playerColor: Blue.
This all works great.
Now when I person logs in after me, the OnUserEnterRoom is fired. I need to get the player info (playerType and playerColor) from their SetUserVariables BUT what is happening is that it is not set until AFTER the OnUserEnterRoom is fired.
Is there a way to SetUserVariables before entering a room?
Thanks in advance!
Setting SetUserVariables before joining a room
-
- Posts: 61
- Joined: 16 Jan 2009, 14:48
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Return to “.Net / Unity3D API”
Who is online
Users browsing this forum: No registered users and 26 guests