Home »Action Reference»GUILayout Actions»GUILayout Begin Centered
Index

GUILayout Begin Centered

No parameters.

Begin a centered GUILayout block. The block is centered inside a parent GUILayout Area. So to place the block in the center of the screen, first use a GULayout Area the size of the whole screen (the default setting).

NOTE: The centered block must end with a corresponding GUILayout End Centered.