All you need is to either rename the script file, or rename the class. “PlayaController” is different from “PlayaControlla” and one is the name of the script file, while the other one is the name of the class as you declared it inside the script file. They have to be the exact same name. It doesn’t matter which one you change to match the other, as long as they are the same in the end.
You have a class called “PlayaController” in the file named “Player Controller.cs”. What I would do is this: Rename file “Player Controller.cs” in your scripts folder to be “PlayerController.cs” (without a space) and in the code I would change line 10 from public class PlayaController : MonoBehaviour{ to public class PlayerController : MonoBehaviour{ This should fix your problem.
EDIT:
Please note that you should always name your files without any space characters. Computers tend to get confused by spaces in file names.
I’m asking anyone who can see what I can’t to please download my project and just tell me what’s wrong? I could just walk through the tutorial again and program a working version of my game, but then I don’t know what mistake I’ve made and over time I might end up repeating it.