AssetRef.TryGetValue(T) Method
Definition¶
Namespace: Brine2D.Assets
Atomically checks whether this ref has been resolved and retrieves the value. Use this instead of IsLoaded + Value when a concurrent Unload(AssetManifest) could reset the ref between the two reads.
public bool TryGetValue(out T value);
Parameters¶
value T