docs.unity.cn
    Show / Hide Table of Contents

    Method TryGetBlobAssetReference

    TryGetBlobAssetReference<T>(Hash128, out BlobAssetReference<T>)

    Gets the BlobAssetReference based on a hash

    Declaration
    public bool TryGetBlobAssetReference<T>(Hash128 hash, out BlobAssetReference<T> blobAssetReference)
        where T : struct
    Parameters
    Type Name Description
    Hash128 hash

    The hash of the BlobAssetReference to get

    BlobAssetReference<T> blobAssetReference

    The BlobAssetReference associated with the hash if found, default otherwise

    Returns
    Type Description
    Boolean

    True if the BlobAssetReference is found, otherwise False

    Type Parameters
    Name Description
    T

    The type of BlobAsset to get

    Remarks

    This will take a dependency on the component

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