TryGetAsset<T>(T?)
Last updated
Was this helpful?
Method in IAssetProvider
Attempts to fetch an asset of type T from the object.
public bool TryGetAsset<T>([System.Diagnostics.CodeAnalysis.NotNullWhen(true)] out T? result)
where T : UnityEngine.Object;T result
On return, the fetched asset, or null .
T
The type of the assets.
true if an asset was fetched; false otherwise.
Last updated
Was this helpful?
Was this helpful?
