Version: 2021.3

SystemInfo.operatingSystemFamily

切换到手册
public static OperatingSystemFamily operatingSystemFamily ;

描述

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