docs.unity.cn
    Show / Hide Table of Contents

    Class ModeConfigurator

    Controls the editor mode (eg: put the editor in project configurator mode or unity standard mode

    Inheritance
    Object
    ModeConfigurator
    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

    true if this instance is in configurator mode; otherwise, false.

    Methods

    SetConfiguratorMode(Boolean)

    Sets the configurator mode.

    Declaration
    public static void SetConfiguratorMode(bool enable = true)
    Parameters
    Type Name Description
    Boolean enable

    if set to true [enable].

    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.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 03 March 2021