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?

Comments

  • Tobias
    Options
    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.