RpcTarget isn't being recognized

Options
Hello, i've run into this error error CS0103: The name 'RpcTarget' does not exist in the current context when trying to call an RPC function and i'm clueless as to how to fix it. In my code i have the class set as Photon.MonoBehaviour and the photonview component is set and all. Am i missing something?

Answers

This discussion has been closed.