docs.unity.cn
    Show / Hide Table of Contents

    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
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 12 June 2023