docs.unity.cn
    Show / Hide Table of Contents

    Method AddBlobAssetWithCustomHash

    AddBlobAssetWithCustomHash<T>(ref BlobAssetReference<T>, Hash128)

    Adds a BlobAsset to the primary Entity with a custom hash

    Declaration
    public void AddBlobAssetWithCustomHash<T>(ref BlobAssetReference<T> blobAssetReference, Hash128 customHash)
        where T : struct
    Parameters
    Type Name Description
    BlobAssetReference<T> blobAssetReference

    The BlobAssetReference of the added BlobAsset to add

    Hash128 customHash

    The hash that is used to add the BlobAsset to the Entity

    Type Parameters
    Name Description
    T

    The type of BlobAsset to add

    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