I've searched around, but I'm still unsure what to do in this situation:
I create a class that extends from Photon.PunBehaviour - which, as the documentation would imply, means that it has an inherent photonView element.
However, when I try to call photonView.RPC(), I get an exception which tells me that my inherited photonView has not been initialized. How would I go about initializing it, seeing as I seem have read-only access? What syntax might I use?
Thanks!
I create a class that extends from Photon.PunBehaviour - which, as the documentation would imply, means that it has an inherent photonView element.
However, when I try to call photonView.RPC(), I get an exception which tells me that my inherited photonView has not been initialized. How would I go about initializing it, seeing as I seem have read-only access? What syntax might I use?
Thanks!