Hi Marcus,
Welcome to our community!
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:
- Forum User Guides : How to apply code formatting within your post
- Forum User Guides : How to mark a topic as solved