docs.unity.cn
    Show / Hide Table of Contents

    Method TryAdd

    TryAdd<T>(Hash128, BlobAssetReference<T>)

    Get a BlobAssetReference from its key

    Declaration
    public bool TryAdd<T>(Hash128 key, BlobAssetReference<T> result)
        where T : struct
    Parameters
    Type Name Description
    Hash128 key

    The key associated with the BlobAssetReference

    BlobAssetReference<T> result

    The BlobAssetReference if found or default

    Returns
    Type Description
    Boolean

    true if the BlobAssetReference was found, false if not found

    Type Parameters
    Name Description
    T

    The type of BlobAsset

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use