Search Unity

Third Party [Photon] Hide an child object for other players inside an photonView object

Discussion in 'Multiplayer' started by klerta, Jan 15, 2020.

  1. klerta

    klerta

    Joined:
    Apr 15, 2018
    Posts:
    10
    I am currently making a school project and I was wondering on how I could hide a child gameobject for the other players insdie an photonView object. What is the best/simplest way to fix this?

    Edit: To clarify this, I want to make the gameobject just to show to the client and not the whole server.
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,066
    I may be misunderstanding you but:
    If you need a new, local object, simply instantiate it locally. Without a PhotonView and just using Object.Instantiate.