docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CompareTo

    CompareTo(EntityInChunk)

    Compares two EntityInChunk objects to determine their relative ordering

    Declaration
    public int CompareTo(EntityInChunk other)
    Parameters
    Type Name Description
    EntityInChunk other

    The other instance to compare.

    Returns
    Type Description
    int

    -1 if this entity should be ordered earlier than other. 1 if this entity should be ordered later than other. 0 if the two entities are equivalent.

    In This Article
    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)