docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CompareTo

    CompareTo(object)

    Compares this element to another object.

    Declaration
    public int CompareTo(object o)
    Parameters
    Type Name Description
    object o

    The object to compare to.

    Returns
    Type Description
    int

    true if both objects are the same, false otherwise.

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