Playername above character

Hi, I'm trying to get a players name to display above their head so everybody else sees their name.

I'm using Photonnetwork.Playername. But i can't get it work.
Currently when player A looks at player B player A can only see hes own name?

Would really appreciate any help on this one!

Comments

  • The player variable is "this client's player". You can set your name with it.
    Objects with a PhotonView have a PhotonView.owner and this is what you're looking for. Use the owner's name.
  • Oh thank you Tobias!