docs.unity3d.com
    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

    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

    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023