Documentation

Unity Engine

Unity Engine

supportsAccelerometer

Is an accelerometer available on the device?
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool supportsAccelerometer { get; }