ThrowIfNull Method
- Namespace
- SatorImaging.UnityFundamentals
ThrowIfNull<T>(T?, string?, Exception?) Deprecated
[Obsolete("use `.Nullable() ?? throw new...` instead")]
public static T ThrowIfNull<T>(this T? self, string? message = null, Exception? innerException = null) where T : UnityEngine.Object
Parameters
Returns
- T
Type Parameters
T