Class ModeConfigurator
Controls the editor mode (eg: put the editor in project configurator mode or unity standard mode
Namespace: Unity.Industrial.Forma.Editor.UI
Syntax
public class ModeConfigurator : object
Fields
s_ConfiguratorModeId
Configurator mode id
Declaration
public static string s_ConfiguratorModeId
Field Value
Type | Description |
---|---|
String |
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(MenuCommand)
Sets the configurator mode.
Declaration
public static void SetConfiguratorMode(MenuCommand item)
Parameters
Type | Name | Description |
---|---|---|
MenuCommand | item | The item. |
SetConfiguratorMode(Boolean)
Sets the configurator mode.
Declaration
public static void SetConfiguratorMode(bool enable = true)
Parameters
Type | Name | Description |
---|---|---|
Boolean | enable | if set to |