Class AdapterImportContext
AdapterImportContext
Namespace: Unity.Industrial.Forma.Editor.Adapters
Syntax
[MovedFrom(true, "UnityEditor.Industrial.Configuring.Adapter", "Unity.Industrial.Configurator.Editor", null)]
public class AdapterImportContext
Constructors
AdapterImportContext(IImportSource, FormaAdapter)
Context constructor
Declaration
public AdapterImportContext(IImportSource importSource, FormaAdapter adapter)
Parameters
Type | Name | Description |
---|---|---|
IImportSource | importSource | |
FormaAdapter | adapter |
Properties
Adapter
Import adapter
Declaration
public FormaAdapter Adapter { get; }
Property Value
Type | Description |
---|---|
FormaAdapter |
DebugOutput
Add custom debug output for this import action
Declaration
public Dictionary<string, object> DebugOutput { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<String, Object> |
Source
Import source
Declaration
public IImportSource Source { get; }
Property Value
Type | Description |
---|---|
IImportSource |
Methods
ClearProgressBar()
Clears the Progress Bar
Declaration
public void ClearProgressBar()
DisplayProgressBar(Single, String)
Show a progress bar
Declaration
public bool DisplayProgressBar(float progress = 0F, string step = "")
Parameters
Type | Name | Description |
---|---|---|
Single | progress | |
String | step |
Returns
Type | Description |
---|---|
Boolean |