Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


primaryButton

The primary face button being pressed on a device, or sole button if only one is available.
Read time 1 minuteLast updated 10 days ago

Definition

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