docs.unity.cn
    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
    Int32

    -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.

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