- Home /
Question by
Vedal987 · Dec 13, 2015 at 04:22 PM ·
unity 5javascriptphotonview
Get Component Photon View?
I am trying to get the photon view component from another object! It should be easy but it is not recognising PhotonView!
var PV : PhotonView; PV = h.GetComponent(PhotonView);
returns "BCE0018: The name 'PhotonView' does not denote a valid type ('not found')."
I have tried lots and I'm using Unity 5.3!
Thanks,
Comment
Your answer