Walking script error

Soo im new to unity and scripting and stuff. Soo i’m trying to make a simple 2D platformer, and i’m kinda stuck. So i’m trying to make a move script. I am not sure if this works or if you do it this way, i just looked at some movement scripts some tutorials and did that. Soo when i try to play it starts but I get this error

ArgumentException: Input Axis horizontal is not setup.
To change the input settings use: Edit → Project Settings → Input
player.Update () (at Assets/scripts/player.cs:20)

And can anyone send me some scripting tutorials so that i know what the fuck I am doing, beacuse right now i’m just typing stuff and understand like half of it :/.

2264539--151578--bug.jpg

Try capitolizing the h in horizontal. “Horizontal”
Also, if you havent, try googling the error before making a post about it. Many times the answer is already out there. It can save you, and others, time =)

1 Like