Version: 2017.1

SystemInfo.supportsAccelerometer

切换到手册
public static bool supportsAccelerometer ;

描述

设备上是否有加速度计?