Class GraphRunner
A graph runner that will traverse and execute all nodes of a provided Importer
Inherited Members
Namespace: UnityEngine .Importer
Assembly: Unity.Importer.dll
Syntax
public static class GraphRunner
Remarks
At the end of the execution, the Result
Methods
Run(ImporterGraph, AssetLoading, GraphLogger, IEnumerable<IGraphValue>)
Traverse and execute all nodes of the provided Importer
Declaration
public static GraphExecutionResult Run(ImporterGraph graph, AssetLoading assetLoading = null, GraphLogger graphLogger = null, IEnumerable<IGraphValue> settingOverride = null)
Parameters
Type | Name | Description |
---|---|---|
Importer |
graph | The Importer |
Asset |
assetLoading | An optional Asset |
Graph |
graphLogger | An optional Graph |
IEnumerable<IGraph |
settingOverride | An optional collection of Import |
Returns
Type | Description |
---|---|
Graph |
The Graph |
Remarks
Ensure that your graph is valid before running it to prevent unexpected behaviours or import results.