Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Update playerName for FindFriends without reconnecting

$
0
0
Is there a way to update he playerName without reconnecting? From what I have seen is that you have to set the playerName before connecting.

My game flow works like this for new players
1. Player starts the game as an anonymous player
2. Player clicks Facebook and it returns his ID
3. Then I set PhotonNetwork.playerName = facebookID

4. Disconnect and reconnect this is the step I want to skip!

5. PlayerName is updated and other people can see the status

Viewing all articles
Browse latest Browse all 15755

Trending Articles