namespace name `MonoBehaviour' does not exist in "Photon"...

edited May 2015 in DotNet
Hey there!

I'm new to programming and especially to Photon Networking and I've got a problem right now; as the Subject says:

"The type or namespace name `MonoBehaviour' does not exist in the namespace `Photon'. Are you missing an assembly reference?"

I have Unity's MouseLook script converted to 'Photon's" settings

Script line: " public class MouseLook : Photon.MonoBehaviour { "

I've looked up a lot, but in vain. :(

I hope someone can help me here, thanks!

Comments

  • Did you import PUN? If so, Photon.MonoBehaviour should be available for all C# scripts.
    Any other errors?
Sign In or Register to comment.