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 : unmanaged
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