Version: 2021.3

SystemInfo.supportsVibration

切换到手册
public static bool supportsVibration ;

描述

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