Why won't it let me put the script in to my object?

Well…
I’m currently going through a tutorial.

And when I come to the part where I’ll add my first script to the objects (14:00 in the video), it doesn’t work.
I get the error “Can’t add script behaviour car driver. The scripts file name does not match the name of the class defined in the script!”

What can I do to fix this?

well, the error is pretty clear. you should make sure that the script name matches the class name :wink:

if your script is called blabla.cs in unity, make sure it’s public class blabla : MonoBehaviour in your code.

Thank you!
It said something completely different in the code…