Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Unity Multiplayer Sync player name and other player props

Discussion in 'Multiplayer' started by zrouquiahmed, Aug 19, 2022.

  1. zrouquiahmed


    Aug 15, 2022

    I'm building a 2D multiplayer game using Unity2D and Photon and I'm stuck trying to figure out how to sync some data...

    My player prefab is designed like that :

    and those are my Canvas properties :

    for now, I only can see my name, which is normal cause I'm using the player's camera as the render Camera.

    I would like to know a solution on how to let the other users also see my name above my player.
    If there is another way to display text and health bar etc and add it to a player's prefab instead of using a Canvas, It'd be perfect.

    Thank you!