Version: 2017.2

SystemInfo.supportsAccelerometer

切换到手册
public static bool supportsAccelerometer ;

描述

设备上是否有加速度计?