can't add Unity script component?

Adam2E

New member
Joined
May 15, 2020
Messages
1
Programming Experience
Beginner
So im learning c# on unity, I got this error, ive gotten this error before and fixed it, but nothing im doing is working. the code doesn't seem to have errors and the script name and class name are the same. I would really apreciate some help
 

Attachments

  • Capture2.PNG
    Capture2.PNG
    145.8 KB · Views: 25
  • Capture.PNG
    Capture.PNG
    164.8 KB · Views: 24
Please don't post pictures of text. Copy your code from the IDE and post it as text, then format it as code. Error messages should also be posted as text, preferably formatted as a quote or the like to make it easy to read. That way, can read them easily and we can also copy and paste to test or search for ourselves.
 
Back
Top Bottom