namespace name `MonoBehaviour' does not exist in "Photon"...
Options
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!
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!
0
Comments
-
Did you import PUN? If so, Photon.MonoBehaviour should be available for all C# scripts.
Any other errors?0