Enum MenuAction.MenuActionState | ProBuilder | 4.4.0-preview.1
docs.unity.cn
    Show / Hide Table of Contents

    Enum MenuAction.MenuActionState

    A flag indicating the state of a menu action. This determines whether the menu item is visible, and if visible, enabled.

    Namespace: UnityEditor.ProBuilder
    Syntax
    [Flags]
    public enum MenuActionState

    Fields

    Name Description
    Enabled

    The button (and by proxy, the action it performs) are valid given the current selection.

    Hidden

    The button is not visible in the toolbar.

    Visible

    The button is visible in the toolbar.

    VisibleAndEnabled

    Button and action are both visible in the toolbar and valid given the current selection.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX