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

API: engine
Project: Inno.Assets

public bool Inno.Assets.AssetDatabase.TryLoad<TAsset>(Inno.Assets.AssetPath path, out TAsset? asset) where TAsset : Inno.Assets.AssetObject

Type parameter TAsset: The required runtime asset contract.

Parameter path: The mount-qualified logical catalog path.

Parameter asset: Receives the canonical compatible asset when available.

true when the deployed catalog contains a compatible asset; otherwise, false.

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