Hi there,
I have instantiated a gameObject, across the network via the masterclient…
//called only from MasterClient
GameObject player = PhotonNetwork.Instantiate("player", Vector3.zero, Quaternion.identity, 0);
This object has a PhotonView attached. I want to set a particular setting on this (and its respective clones across the network. So I do this…
//called only from MasterClient
GameObject player = PhotonNetwork.Instantiate("player", Vector3.zero, Quaternion.identity, 0);
PhotonView pv_player = player.GetComponent<PhotonView>();
pv_player.RPC("m_setPlayerID", PhotonTargets.All, i);
My issue is that everything works, however the setting ( a color adjustment ) I make by looking at the value of i (the passed argument), only has an effect on the master client. The remote client, while it does clone and position the objects properly, does not adjust the color as requested.
Any ideas? Odd when everything else is synching.
Thanks