I’m following a tutorial, and has this bit of code;
But, it dosn’t recognise the red bit (the class?), and I don’t know what to replace it with.
The worst part? That code was working a while ago, but I didn’t save the version where it was.
I’m following a tutorial, and has this bit of code;
But, it dosn’t recognise the red bit (the class?), and I don’t know what to replace it with.
The worst part? That code was working a while ago, but I didn’t save the version where it was.
did you make a class called Player?
No, they didn’t show that in the tutorial
Well thats why it wont work. So there must be other parts or references
If you are on Windows and all your projects are stored in some directory, then using Windows Explorer, in Search Options select SubFolders yes and File Contents yes. You can then search “class Player”. It will bring up lots of files most likely, but hopefully it is one of them