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 13 days ago

Definition

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

Remarks

The secondary 2D axis is the Vector2 input feature tagged with _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 _secondary2DAxis, but doesn't set this feature to true.