Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Loads the canonical asset at one catalog path.

API: engine
Project: Inno.Assets

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

Type parameter TAsset: The required runtime asset contract.

Parameter path: The mount-qualified logical catalog path.

The canonical asset instance owned by this database.

Exception T:System.InvalidOperationException: Thrown when no asset exists at the path or its concrete type is incompatible with TAsset.

Exception T:System.ObjectDisposedException: Thrown when this database has been disposed.