So I'm trying to make the FPSController that comes in the Standard Assets package work with PUN... However, I'm having a slight issue with this. It simply won't recognize anything Photon. It throws this error when I try to call it:
I wondered if it had anything to do with the namespace they gave the script. I removed it and that didn't change anything at all.
Here's a picture of the script, along with the project setup on the left just in case something's wrong there:![]()
Assets/Standard Assets/Characters/FirstPersonCharacter/Scripts/FirstPersonController.cs(11,53): error CS0234: The type or namespace name `PunBehaviour' does not exist in the namespace `Photon'. Are you missing an assembly reference?
I wondered if it had anything to do with the namespace they gave the script. I removed it and that didn't change anything at all.
Here's a picture of the script, along with the project setup on the left just in case something's wrong there:
