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

API: scripting
Project: Inno.Assets.Pipeline
Scope: Editor

public TAsset InnoEditor.Assets.AssetImportContext.ResolveDependency<TAsset>(InnoEngine.Assets.AssetPath path) where TAsset : InnoEngine.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.