Class FormaAdapter
Forma Adapter
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Industrial.Forma.Editor.Adapters
Syntax
[MovedFrom(true, "UnityEditor.Industrial.Configuring.Adapter", "Unity.Industrial.Configurator.Editor", null)]
[CreateAssetMenu(menuName = "Forma/Adapter", fileName = "Forma Adapter", order = 10)]
[Serializable]
public class FormaAdapter : ScriptableObject
Fields
Engines
A grouping of all Forma customizable engines
Declaration
[SerializeField]
public FormaEngines Engines
Field Value
Type | Description |
---|---|
FormaEngines |
Importer
Import adapter
Declaration
[SerializeReference]
public ImportAdapter Importer
Field Value
Type | Description |
---|---|
ImportAdapter |
Label
Adapter label
Declaration
[SerializeReference]
public string Label
Field Value
Type | Description |
---|---|
String |
Methods
Import(IImportSource)
Import a source and return an import output
Declaration
public async Task<IImportOutput> Import(IImportSource source)
Parameters
Type | Name | Description |
---|---|---|
IImportSource | source |
Returns
Type | Description |
---|---|
Task<IImportOutput> | Null if import source type is not handled by this adapter. |