Version: 2021.3

Screen.fullScreen

切换到手册
public static bool fullScreen ;

描述

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