docs.unity.cn
    Show / Hide Table of Contents

    Method Equals

    Equals(BlobAssetReference<T>)

    Two BlobAssetReferences are equal when they reference the same data.

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

    The reference to compare to this one.

    Returns
    Type Description
    Boolean

    True, if both references point to the same data or if both are Null.

    Equals(Object)

    Two BlobAssetReferences are equal when they reference the same data.

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

    The object to compare to this reference

    Returns
    Type Description
    Boolean

    True, if the object is a BlobAssetReference instance that references to the same data as this one, or if both objects are Null BlobAssetReference instances.

    Overrides
    ValueType.Equals(Object)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use