GUILayoutUtility Manual     Reference     Scripting  
Scripting > Runtime Classes > GUILayoutUtility
GUILayoutUtility Class

Utility functions for implementing and extending the GUILayout class.

Use this class to make your own GUI layouting code

Class Functions
BeginLayoutGroup

Generic helper - use this when creating a layoutgroup. It will make sure everything is wired up correctly.

GetRect

Reserve layout space for a rectangle for displaying some contents with a specific style.

GetLastRect

Get the rectangle last used by GUILayout for a control.

GetAspectRect

Reserve layout space for a rectangle with a specific aspect ratio.