AssetRef<T>

Namespace: Murder.Utilities
Assembly: Murder.dll

public sealed struct AssetRef<T>

⭐ Constructors

public AssetRef<T>(Guid guid)

Parameters
guid Guid

⭐ Properties

Asset

public T Asset { get; }

Returns
T

Empty

public static AssetRef<T> Empty { get; }

Returns
AssetRef<T>

Guid

public readonly Guid Guid;

Returns
Guid

HasValue

public bool HasValue { get; }

Returns
bool

TryAsset

public T TryAsset { get; }

Returns
T