docs.unity3d.com
Search Results for

    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
    int

    The sort order

    In This Article
    • CompareTo(ComponentType)
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)