Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Reads another source from the same candidate mount snapshot and records it as an import dependency.

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

public System.ReadOnlyMemory<byte> InnoEditor.Assets.AssetImportContext.ReadSourceBytes(InnoEngine.Assets.AssetPath path)

Parameter path: An isolated path whose mount dependency was declared when it crosses Plugin boundaries.

An immutable source snapshot owned by the import operation.

Exception T:System.InvalidOperationException: Thrown when the source crosses an undeclared mount boundary or references the writable Project from a Plugin.

Exception T:System.IO.FileNotFoundException: Thrown when the resolved source does not exist.