Version: 2023.1

Application.isConsolePlatform

切换到手册
public static bool isConsolePlatform ;

描述

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