Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Loads the canonical asset with a persistent identity.

API: engine
Project: Inno.Assets

TAsset Inno.Assets.IAssetLookup.Load<TAsset>(System.Guid persistentId) where TAsset : Inno.Assets.AssetObject

Type parameter TAsset: The required asset contract.

Parameter persistentId: The non-empty persistent asset identity.

The canonical compatible asset owned by this lookup.

Exception T:System.InvalidOperationException: Thrown when the asset does not exist or has an incompatible concrete type.