docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(EntitySceneReference)

    Checks if this reference holds the same asset GUID as the other reference.

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

    The other weak reference object to compare to.

    Returns
    Type Description
    bool

    True if the asset GUID of both are equal.

    Equals(object)

    Overrides the default Object.Equals method.

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

    An object to compare for equality.

    Returns
    Type Description
    bool

    True if this EntitySceneReference and the object are equal.

    Overrides
    ValueType.Equals(object)
    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)