docs.unity.cn
    Show / Hide Table of Contents

    Enum ContentSizeFitter.FitMode

    The size fit modes avaliable to use.

    Namespace: UnityEngine.UI
    Syntax
    public enum FitMode

    Fields

    Name Description Value
    Unconstrained

    Don't perform any resizing.


    0
    MinSize

    Resize to the minimum size of the content.


    1
    PreferredSize

    Resize to the preferred size of the content.


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 12 June 2023