Synced
AssetImporter<TAsset>.ImportAsync
Section titled “AssetImporter<TAsset>.ImportAsync”
- Imports one source into a managed asset and named artifact outputs.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Assets.Pipeline
Scope: Editor
Declaration
Section titled “Declaration”protected abstract System.Threading.Tasks.ValueTask InnoEditor.Assets.AssetImporter<TAsset>.ImportAsync(InnoEditor.Assets.AssetImportContext context, InnoEditor.Assets.AssetImportWriter<TAsset> output, System.Threading.CancellationToken cancellationToken)Parameters
Section titled “Parameters”Parameter context: The import transaction context.
Parameter output: The candidate output writer.
Parameter cancellationToken: Cancellation for the import.
Returns
Section titled “Returns”An operation that completes when the candidate has been fully staged.