Mac fullscreen mode.
Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.
This defines how fullscreen mode is handled on Mac OS X Standalones.
CaptureDisplay |
Capture the display. |
FullscreenWindow |
Fullscreen window. |
FullscreenWindowWithDockAndMenuBar |
Fullscreen window with Dock and Menu bar. |