docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(Property)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(Property other)
    Parameters
    Type Name Description
    Property other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    Equals(object)

    Indicates whether this instance and a specified object are equal.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current instance.

    Returns
    Type Description
    bool

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    Overrides
    ValueType.Equals(object)

    Equals(Property, Property)

    Determines whether the specified objects are equal.

    Declaration
    public bool Equals(Property x, Property y)
    Parameters
    Type Name Description
    Property x

    The first object of type T to compare.

    Property y

    The second object of type T to compare.

    Returns
    Type Description
    bool

    true if the specified objects are equal; otherwise, false.

    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)