docs.unity.cn
    Show / Hide Table of Contents

    Enum MenuAction.MenuActionState

    Determines whether the menu item is visible, and if visible, whether it is enabled.

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

    Fields

    Name Description Value
    Hidden

    The button is not visible in the toolbar.


    0
    Visible

    The button is visible in the toolbar.


    1
    Enabled

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


    2
    VisibleAndEnabled

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


    3
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Wednesday, April 12, 2023
    Terms of use