Documentation

Unity Engine

Download Unity

Unity Engine

primary2DAxisClick

Represents the primary 2D axis being clicked or otherwise depressed.
Read time 1 minuteLast updated 2 months ago

Definition

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

Remarks

The primary 2D axis is the Vector2 input feature tagged with CommonUsages.primary2DAxis.