docs.unity.cn
    Show / Hide Table of Contents

    Method AssociateBlobAssetWithUnityObject

    AssociateBlobAssetWithUnityObject(Hash128, Object)

    Declare the BlobAsset being associated with the given UnityObject

    Declaration
    public void AssociateBlobAssetWithUnityObject(Hash128 hash, Object unityObject)
    Parameters
    Type Name Description
    Hash128 hash

    The hash associated to the BlobAsset

    Object unityObject

    The UnityObject associated with the BlobAsset

    Remarks

    One of the role of the BlobAssetComputationContext<TS, TB> is to track the new association between Authoring UnityObject and BlobAsset and report them to the BlobAssetStore to automatically track the life-time of the BlobAssetReference<T> and release the instances that are no longer used.

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