docs.unity.cn
    Show / Hide Table of Contents

    Method AddBlobAsset

    AddBlobAsset<T>(ref BlobAssetReference<T>, out Hash128)

    Adds a BlobAsset to the primary Entity

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

    The BlobAssetReference of the BlobAsset to add

    Hash128 objectHash

    The hash of the added BlobAsset

    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