Version: 2018.2

Screen.fullScreenMode

Switch to Manual
public static FullScreenMode fullScreenMode ;

Description

Set this property to one of the values in FullScreenMode to change the display mode of your application.