Using individual axis to represent each trigger
This means that if you set up an axis in your InputManager to use '3rd Axis (Joysticks and Scrollwheel)' for its Axis and set the Type to 'Joystick Axis', the axis will output 1 when you hold the left trigger down, and output -1 when you hold the right trigger down 1. Using both triggers for a single axisĪs you can see, the triggers are associated with '3rd axis'. Apart from the terminology difference, this means that you must set them up using InputManager, as opposed to having the additional option of calling them through Input.GetKey(Ke圜ode). A trigger can output a value of 0.5 if only half-way pressed, while a button can only interpret 'on' or 'off' - 0 or 1.įor this reason, the triggers are referenced as 'axis', and not as 'buttons'. This is because the triggers output a value based on how far down they have been pressed. The triggers are represented as axis, as opposed to buttons. Below is a helpful image guide, provided by the Unify Community Wiki article on the Xbox 360 controller.