docs.unity.cn
    Show / Hide Table of Contents

    Method CompareTo

    CompareTo(ComponentType)

    Returns the sort order this component type compared to another

    Declaration
    [GenerateTestsForBurstCompatibility]
    public int CompareTo(ComponentType other)
    Parameters
    Type Name Description
    ComponentType other

    The other component type

    Returns
    Type Description
    Int32

    The sort order

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023