docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CompareTo

    CompareTo(Hash128)

    Compares this hash's value to another hash's, and returns an integer that is negative if this hash's value is less, 0 if the same, or positive if more than the other hash.

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

    The hash to compare to this hash.

    Returns
    Type Description
    int

    a negative number, if this hash's value is less than the other hash's. zero, if the hash's values are the same. a positive number, if this hash's value is more than the other hash's.

    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)