LayoutElement

Description

Add this component to a GameObject to make it into a layout element or override values on an existing layout element.

Variables

Variable Name Type Description
ignoreLayout bool Whether to allow to ignore layout
minWidth int Minimum width
minHeight int Minimum height
preferredWidth int Preferred width
preferredHeight int Preferred height
flexibleWidth int Flexible width
flexibleHeight int Flexible height
hasMinWidth bool Has minimum width set
hasMinHeight bool Has minimum height set
hasPreferredWidth bool Has preferred width set
hasPreferredHeight bool Has preferred height set
hasFlexibleWidth bool Has flexible width set
hasFlexibleHeight bool Has flexible height set

Methods

Method Description
getLayoutElement Get the layout of a cell