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.