"Can't add script component"

Hi Marcus,

Welcome to our community! :slight_smile:

Is the PlayerControls class inside the PlayerControls.cs file? Both names must be spelt exactly the same.

In your post, there is this character: �. That’s invalid in code, unless it is between "". Check if it is also in your script. Remember you can also look at the lecture code changes via the link in the Resources of each lecture.


See also: