Class ModeConfigurator
Controls the editor mode (eg: put the editor in project configurator mode or unity standard mode
Namespace: UnityEditor.Industrial.Configuring.UI
Syntax
public class ModeConfigurator
Properties
IsInConfiguratorMode
Gets a value indicating whether this instance is in configurator mode.
Declaration
public static bool IsInConfiguratorMode { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
Methods
SetConfiguratorMode(Boolean)
Sets the configurator mode.
Declaration
public static void SetConfiguratorMode(bool enable = true)
Parameters
Type | Name | Description |
---|---|---|
Boolean | enable | if set to |
SetConfiguratorMode(MenuCommand)
Sets the configurator mode.
Declaration
[MenuItem("Forma/Switch Mode", false, 1)]
public static void SetConfiguratorMode(MenuCommand item)
Parameters
Type | Name | Description |
---|---|---|
MenuCommand | item | The item. |