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.  |