Version: 2021.3
public static DeviceType deviceType ;

描述

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