Method TryAdd
TryAdd<T>(Hash128, BlobAssetReference<T>)
Get a BlobAssetReference from its key
Declaration
public bool TryAdd<T>(Hash128 key, BlobAssetReference<T> result)
where T : struct
Parameters
Type | Name | Description |
---|---|---|
Hash128 | key | The key associated with the BlobAssetReference |
BlobAssetReference<T> | result | The BlobAssetReference if found or default |
Returns
Type | Description |
---|---|
Boolean | true if the BlobAssetReference was found, false if not found |
Type Parameters
Name | Description |
---|---|
T | The type of BlobAsset |