I’m using my pro controller to play my game, but the movement doesn’t work.
Pushing up or down on the left joystick affect none of the axises. Pushing Left or right on the joystick affects the Vertical Axis.
This is the code I’m using:
float XInput;
float YInput;
void Update()
{
XInput = Input.GetAxisRaw("Horizontal");
YInput = Input.GetAxisRaw("Vertical");
if(XInput != 0||YInput != 0)
{
Debug.Log(XInput);
Debug.Log(YInput);
}
}