Class ImportMenuAction
Import menu action
Namespace: Unity.Industrial.Forma.Editor.Adapters
Syntax
[MovedFrom(true, "UnityEditor.Industrial.Configuring.Adapter", "Unity.Industrial.Configurator.Editor", null)]
[Serializable]
public class ImportMenuAction : IImporterGenericMenuItem
Fields
Label
Gets the label.
Declaration
public string Label
Field Value
| Type | Description |
|---|---|
| String | The label. |
ShowInMenu
Show this import action in Forma's Add Product menus.
Declaration
[SerializeField]
public bool ShowInMenu
Field Value
| Type | Description |
|---|---|
| Boolean |
Methods
OnMenu(GenericMenu)
Called when an import product menu is shown
Declaration
public virtual void OnMenu(GenericMenu menu)
Parameters
| Type | Name | Description |
|---|---|---|
| GenericMenu | menu |