New to Unity and got this issue. I was watching a Brackey’s video and copying code as we go along. So I am really stumped as to why I am having this issue.
Here is the video I am following: https://www.youtube.com/watch?v=LNLVOjbrQj4&list=PLTHsiRqYA67RzooCpDItsPE3-yNM7J5vJ&index=2&t=412s
at 4:58 seconds he adds this script to the player and starts moving. When I add my script I get the "Can’t add script" error.
I have read other post about this and Have copied and pasted my script name and even tried changing it too. No luck. I have restarted Unity as well thinking it could be some kind of bug. Not that either. I will post my code down below if somebody can help me out that be so great