docs.unity.cn
    Show / Hide Table of Contents

    Method TryRemove

    TryRemove<T>(Hash128, Boolean)

    Obsolete. BlobAssetStore uses garbage collection and doesn't allow removing references anymore.

    Declaration
    [Obsolete("Obsolete. BlobAssetStore uses garbage collection and doesn't allow removing references anymore.")]
    public bool TryRemove<T>(Hash128 hash, bool releaseBlobAsset)
    Parameters
    Type Name Description
    Hash128 hash

    The key associated with the BlobAssetReference

    Boolean releaseBlobAsset

    If true the BlobAsset data will be released

    Returns
    Type Description
    Boolean

    True if the BlobAsset was removed from the store, false if it wasn't found

    Type Parameters
    Name Description
    T

    The type of the BlobAsset

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023