Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Loads the canonical asset at a logical catalog path in the current session.

API: engine
Project: Inno.Assets

public static TAsset Inno.Assets.Assets.Load<TAsset>(Inno.Assets.AssetPath path) where TAsset : Inno.Assets.AssetObject

Type parameter TAsset: The required asset contract.

Parameter path: The mount-qualified logical catalog path.

The canonical compatible asset owned by the current lookup.

Exception T:System.InvalidOperationException: Thrown when no asset lookup is active, the asset does not exist, or its type is incompatible.