Interface ILunyAsset
Base interface for all engine-native assets.
public interface ILunyAsset
Properties
AssetID
The unique identifier for this asset.
LunyAssetId AssetID { get; }
Property Value
AssetPath
The path used to load this asset.
LunyAssetPath AssetPath { get; }
Property Value
NativeAsset
The native asset reference.
object NativeAsset { get; }
Property Value
- object
Methods
Cast<T>()
Cast the native asset to a given type. Returns null on type mismatch.
T Cast<T>() where T : class
Returns
- T
Type Parameters
T