Network Player Names
Options
First, sorry about my English.
I Want to set names for all players when they connect on my server. Right now all players name is "Ship(RED)(Clone)" i want to set it to "Username/BLUE" so I easy can search for obejct in gameobject.find
is there a way to do that and sync photonview name over network?
I Want to set names for all players when they connect on my server. Right now all players name is "Ship(RED)(Clone)" i want to set it to "Username/BLUE" so I easy can search for obejct in gameobject.find
is there a way to do that and sync photonview name over network?
0
Comments
-
You can set PhotonNetwork.playerName and access each player's name via PhotonPlayer.name.
It gets synced for you.
Teams can better be stored separately, I'd say. Check out the "Pickup, Teams, Score" Demo from the PUN package.0