Manual     Reference     Scripting  
  
Scripting > Runtime Classes > GUILayoutUtility   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • GUILayoutUtility
  • All Members
  • Class Functions
  • BeginLayoutGroup
  • GetAspectRect
  • GetLastRect
  • GetRect

GUILayoutUtility.BeginLayoutGroup  

static function BeginLayoutGroup (style : GUIStyle, options : GUILayoutOption[], LayoutType : System.Type) : GUILayoutGroup

Description

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

style: the style of the group options: the layout options to apply to it LayoutType: The type of layout group to create.