docs.unity3d.com
Search Results for

    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 : unmanaged
    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
    bool

    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

    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)