The name "photonView" does not exist.... [RPC]
I'm following the Viking Demo, trying to get RPC working but I have a problem I cant solve: I attached my Script to a GameObject with Photon View attached and it keeps saying "The name "photonView" does not exist.... ".
It would be nice if you could help me. By the way, is there is reference out there? Would be really really nice.
Maliex
void Update() { photonView.RPC("FunctionName", PhotonTargets.All, input1, input2); } [RPC] void FunctionName(int input1, float input2) { array[input1-1] = input2; }
It would be nice if you could help me. By the way, is there is reference out there? Would be really really nice.
Maliex
0
Comments