Enum GridLayoutGroup.Constraint
Constraint type on either the number of columns or rows.
Namespace: UnityEngine.UI
Syntax
public enum Constraint
Fields
Name | Description | Value |
---|---|---|
Flexible | Don't constrain the number of rows or columns. |
0 |
FixedColumnCount | Constrain the number of columns to a specified number. |
1 |
FixedRowCount | Constraint the number of rows to a specified number. |
2 |