Version: 2021.3

SystemInfo.supportsGyroscope

切换到手册
public static bool supportsGyroscope ;

描述

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