Version: 2022.3

SystemInfo.supportsAccelerometer

切换到手册
public static bool supportsAccelerometer ;

描述

设备上是否有加速度计?