Method TryRemove
TryRemove<T>(Hash128, bool)
Obsolete. BlobAssetStore uses garbage collection and doesn't allow removing references anymore.
Declaration
[Obsolete("Obsolete. BlobAssetStore uses garbage collection and doesn't allow removing references anymore.")]
public bool TryRemove<T>(Hash128 hash, bool releaseBlobAsset)
Parameters
| Type | Name | Description |
|---|---|---|
| Hash128 | hash | The key associated with the BlobAssetReference |
| bool | releaseBlobAsset | If true the BlobAsset data will be released |
Returns
| Type | Description |
|---|---|
| bool | True if the BlobAsset was removed from the store, false if it wasn't found |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the BlobAsset |