Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Resolves and declares a strongly typed runtime asset dependency during import.

API: engine
Project: Inno.Assets.Pipeline

public TAsset Inno.Assets.Pipeline.AssetImportContext.ResolveDependency<TAsset>(Inno.Assets.AssetPath path) where TAsset : Inno.Assets.AssetObject

Type parameter TAsset: Expected asset type.

Parameter path: Isolated dependency path.

The currently committed dependency asset.

Exception T:System.InvalidOperationException: Thrown when the dependency cannot be imported or has another type.