Input.GetAxis("Vertical") on touch devices.

Is there a way to get input.getaxis(“vertical”) and (“horizontal”) working on touch devices? I have a car control script with those classes but my target is a touch device.

Any hint on how to get it done? Even some direction, I’ll try to code it by myself.

Thank you.

Use the Standard Assets (Mobile) prefabs

Of course I am using it as reference. But I am not building a fps game. Instead I have a car that accelerates by detecting input.getaxis and multiplying it by certain values. I also borrowed the joystick.js script from the assets.