I am not going to show any script, which may make it complicated. In unity ,when I used the cross platform input manager for touch buttons, the raw axis values returned are in small fractions(like 0.4321,0.1123) sometimes even smaller values, like 1.2322e-10. I want the value to be 1(when keypressed) or 0(when keyreleased). Where am I going wrong, what should I do then?
The function I used CrossPlatformInputManager.GetAxisRaw("Horizontal")