Hello
Whenever I press play or compile, with a joystick plugged in, the charcter moves up adn right, and prints show that horizontal and vertical always say 1, regardless of state. Bought a new controller to test it out.
my code is this
if(Input.GetButton("up") || Input.GetAxis("Vertical") > 0)
{
do stuff;
}
I have tried controller in other apps and it is fine. Unplug it and unity stops sending me flying around. Happens on multiple controllers.
What am I missing?