Search Unity

Updating photonView.instantiationData at runtime

Discussion in 'Scripting' started by iamsidv, Mar 24, 2017.

  1. iamsidv

    iamsidv

    Joined:
    Jan 24, 2013
    Posts:
    17
    Hello,

    I have lots of small objects in my world which I create using PhotonNetwork.InstantiateSceneObject. I use the photonView.instantiationData to store initial setup data for them. Sometimes this data may change over time and I would like to be able to adjust this instantiation data to reflect these changes. Is it possible to change/update the instantiation data after an object has been created?

    Thanks,
    Sid