Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

SystemInfo.supportsAccelerometer

public static bool supportsAccelerometer;

Description

This has the same functionality as SystemInfo.supportsAccelerometer and also mimics platform-specific behavior in the Unity Editor.