Version: 2022.2

Application.isConsolePlatform

切换到手册
public static bool isConsolePlatform ;

描述

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