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