Screen.fullScreenMode

切换到手册
public static FullScreenMode fullScreenMode ;

描述

将该属性设置为 FullScreenMode 中的某个值,以更改应用程序的显示模式。