Unity Assets

EasyLayout / Documentation

Classes

Enums

EasyLayoutGrid

Namespace: EasyLayout
 
Easy layout grid layout.
 

Static Methods

int GetMaxColumnsCount(List<RectTransform> uiElements, float baseLength, EasyLayout layout, int maxColumns)

Parameters
List<RectTransform> uiElements User interface elements.
float baseLength Base length.
EasyLayout layout Layout.
int maxColumns Max columns.
Returns
int The max columns count.
Description
Gets the max columns count.
 
 

List<List<RectTransform>> Group(List<RectTransform> uiElements, float baseLength, EasyLayout layout, int maxColumns = 0)

Parameters
List<RectTransform> uiElements User interface elements.
float baseLength Base length (width or size).
EasyLayout layout Layout.
int maxColumns
Default: 0
Max columns.
Description
Group the specified uiElements.