Search Unity

Third Party Photon Player Names

Discussion in 'Multiplayer' started by Coderz33, Aug 16, 2014.

  1. Coderz33

    Coderz33

    Joined:
    Aug 16, 2014
    Posts:
    2
    Hello Everyone,
    I am making a chat room that players can customize there players and the color of the 3D text mesh and be able to join a chat room with there custom colorful 3D Text Mesh. But when 2 instances join 1 room the player would see there text on all players. And the other instance would see there text on all players to. How do I make it so players can join a room and have there own colorful text and name? BTW I am using FSM(Play-Maker) to do this... The problem explained short is. Players don't get there own separate name they see there name on all clients connected and in Room...
    Here is a Example...

    Plus I'm new to the forums sorry if I break any rules...
     

    Attached Files:

  2. vadiml

    vadiml

    Joined:
    Aug 12, 2014
    Posts:
    32
    Hi,
    Probably you need player properties for that. Properties synchronized automatically between clients. Set properties with PhotonPlayer.SetCustomProperties on one client and read them from PhotonPlayer.customProperties on others.
    Also consider using built-in PhotonPlayer.name property.