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

API: engine
Project: Inno.Assets

bool Inno.Assets.IAssetLookup.TryLoad<TAsset>(System.Guid persistentId, out TAsset? asset) where TAsset : Inno.Assets.AssetObject

Type parameter TAsset: The required asset contract.

Parameter persistentId: The non-empty persistent asset identity.

Parameter asset: Receives the canonical compatible asset when available.

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