docs.unity.cn
    Show / Hide Table of Contents

    Method Equals

    Equals(EntityPrefabReference)

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

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

    The other weak reference object to compare to.

    Returns
    Type Description
    Boolean

    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
    Boolean

    True if this EntityPrefabReference and the object are equal.

    Overrides
    ValueType.Equals(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023