Instantiate scene props

Options
When loading a scene I need the master to decide on a set of props to be added to a scene. I need to then instantiate them for everybody. BUT they are static and will never move.

As I understand I need a photon view and a transform view to force the prop to be in the same potion and rotation.

Then I need to set the observe option ? (I cannot seem to find any info on the observe option(

Comments

  • develax
    develax ✭✭
    edited July 2019
    Options
    Hi @XSpitFire,

    I think it would be enough to add the PhotonView component to them and to instantiate them in the right place via the PhotonNetwork.Instantiate(...) parameters. No TransformView is needed since your objects are static. I guess they could be instantiated even without PhotonView but in this case, they won't be destroyed when the master leaves the game.