customProperties of SceneObject

while instantiate by PhotonNetwork.InstantiateSceneObject its mean that the object instantiates no have owner of players
Owner is Scene

my question as
can i add custom properties to sceneObject?
if can do, how to create and add values to custom properties of SceneObject?

Comments

  • PUN does not have 'customProperties' concept for scene objects as well as for player owned objects.
    But for any network-synchronized object including scene object, you can synchronize any property or field via OnPhotonSerializeView or RPC.
  • currently as solve,
    i use RPC.

    i just thought if any method to create a custom props or more.

    hahaha, thanks Vadim :)