LayoutGroup.OptimizeLayout Method

Name Parameters Description
OptimizeLayout() none Optimizes the layout of controls, removing unnecessary groups, without visually breaking the existent layout.
OptimizeLayout(Boolean) keepEmptyTabs Optimizes the layout of controls, removing unnecessary groups, without visually breaking the existent layout. This method allows you to retain empty tabs during optimization.