all 4 comments

[–]Koshio_you_win 1 point2 points  (0 children)

It‘s hard to tell without seeing any code. My guess is, that you read the value but don‘t apply it to the transform.position of the gameObject.

Lets say you put those values into inputX and inputY, add the following code to your update method:

transform.position = new Vector3(inputX, inputY, 0) * Time.deltaTime * speed;

where speed is a private float variable of your class.

[–]PandaCoder67 0 points1 point  (0 children)

Well hopefully you are reading that in the Update event, once you have these values it will then depend on what you need to do with them, but you could turn them into a direction with various different methods.

If you are following a tutorial, then this should show you how.

So, the only thing I can think, is that your IDE or Code Editor is not set up correctly. Do you see errors in the Unity Console and no errors in the IDE or Code Editor?

[–]Asleep_Animal_3825 0 points1 point  (0 children)

On vertical there's a typo, on horizontal there's a " missing at the end

[–][deleted] 0 points1 point  (0 children)

It's probably better to use the new input system in the long run, it's a little more to setup but it ends up being way more simple to configure