SUILayout
Index
Properties Index
Properties
Enabled
bool Enabled get
set
Is this UI layout component Enabled?
PaddingLeft
int PaddingLeft get
set
Space reserved for the left edge of the padding during the layout phase.
PaddingRight
int PaddingRight get
set
Space reserved for the right edge of the padding during the layout phase.
PaddingTop
int PaddingTop get
set
Space reserved for the top edge of the padding during the layout phase.
PaddingBottom
int PaddingBottom get
set
Space reserved for the bottom edge of the padding during the layout phase.
ChildAlignment
string ChildAlignment get
set
Property Description
Spacing
float Spacing get
set
The spacing to use between layout elements in the layout group.
ChildControlHeight
bool ChildControlHeight get
set
Returns true if the Layout Group controls the heights of its children. Returns false if children control their own heights.
If set to false, the layout group will only affect the positions of the children while leaving the heights untouched. The heights of the children can be set via the respective RectTransforms in this case.
If set to true, the heights of the children are automatically driven by the layout group according to their respective minimum, preferred, and flexible heights. This is useful if the heights of the children should change depending on how much space is available. In this case the height of each child cannot be set manually in the RectTransform, but the minimum, preferred and flexible height for each child can be controlled by adding a LayoutElement component to it.
ChildControlWidth
bool ChildControlWidth get
set
Returns true if the Layout Group controls the widths of its children. Returns false if children control their own widths.
If set to false, the layout group will only affect the positions of the children while leaving the widths untouched. The widths of the children can be set via the respective RectTransforms in this case.
If set to true, the widths of the children are automatically driven by the layout group according to their respective minimum, preferred, and flexible widths. This is useful if the widths of the children should change depending on how much space is available. In this case the width of each child cannot be set manually in the RectTransform, but the minimum, preferred and flexible width for each child can be controlled by adding a LayoutElement component to it.
ChildForceExpandHeight
bool ChildForceExpandHeight get
set
Whether to force the children to expand to fill additional available vertical space.
ChildForceExpandWidth
bool ChildForceExpandWidth get
set
Whether to force the children to expand to fill additional available horizontal space.
GridCellSize
SVector GridCellSize get
set
The size to use for each cell in the grid.
GridSpacing
SVector GridSpacing get
set
The spacing to use between layout elements in the grid.
GridConstraintCount
int GridConstraintCount get
set
How many cells there should be along the constrained axis.
GridConstraint
string GridConstraint get
set
Property Description
GameObject
SGameObject GameObject get
Property Description
Last updated