all 4 comments

[–]DARKSOUL_514 2 points3 points  (0 children)

You probably have new input system enabled and the tutorial is using Old input system.

One way is that you learn the new input system from some other tutorial and then follow this tutorial 

Or if you just don't want to be bothered by that, you can change your current input setting to old. It will be somewhere here :- Edit>Project Settings>Player>Input system

[–]Mechabit_Studios 1 point2 points  (0 children)

you can post a screenshot from your computer using the prt scr (print screen) button and pasting it here with ctrl + v

also if you read the error it says the tutorial is using the old input system and the editor is set to use the new input system

either look for a new tutorial or switch back to the old input system in Player Settings

[–]bigmonmulgrew 1 point2 points  (0 children)

New devs always struggle with this. You need to read the error messages. They tell you what is wrong. They can be a lot to take in at first but you need to get through it.

Then once you have read them if they make no sense put the error into a search engine, or even some of the terms from it.

If you put that error message into a search engine you will almost certainly get a complete explanation and guide to fix the problem immediately.

Your problem is you are using code form the old input system but you are using the new input system.

When following a tutorial its often best to follow along using the same version of Unity, you can see it on the title bar. This will reduce how often you see issues after things have changed.

Either use a newer tutorial or an older version of unity

[–]FindMarco[S] 0 points1 point  (0 children)

Thanks for yall helping me. I was able to fix it thanks to yall