Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

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,082
    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.