docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(UnityObjectRef<T>)

    Checks if this reference and another reference are equal.

    Declaration
    public bool Equals(UnityObjectRef<T> other)
    Parameters
    Type Name Description
    UnityObjectRef<T> other

    The UnityObjectRef to compare for equality.

    Returns
    Type Description
    bool

    True if the two lists are equal.

    Equals(object)

    Checks if this object references the same UnityEngine.Object as another object.

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

    The object to compare.

    Returns
    Type Description
    bool

    True, if the obj parameter is a UnityEngine.Object instance that points to the same instance as this.

    Overrides
    ValueType.Equals(object)
    In This Article
    Back to top
    Copyright © 2025 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)