Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


secondary2DAxisClick

Represents the secondary 2D axis being clicked or otherwise depressed.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public static InputFeatureUsage<bool> secondary2DAxisClick

Remarks

The secondary 2D axis is the Vector2 input feature tagged with CommonUsages.secondary2DAxis. A click means that the user presses the joystick or touchpad inward, toward the body of the controller. Moving the joystick or touchpad to one side changes the value of CommonUsages.secondary2DAxis, but doesn't set this feature to true.