So I have been having massive issues with coding today. I don't really know what happened but my camera controller wasn't working so I deleted the script and rewrote it exactly the same. When I saved it I got an error that said
"Assets\CameraController.cs(5,33): error CS0246: The type or namespace name 'MonoBehaviour' could not be found (are you missing a using directive or an assembly reference?)"
So I saved my unity project and closed it when I opened it back up
I got a second error in addition to the first one that said
Assets\CameraController.cs(7,12): error CS0246: The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?)
I don't know what to do I am so confused someone please help.
↧