Enum MenuAction.MenuActionState
Determines whether the menu item is visible, and if visible, whether it is enabled.
Namespace: UnityEditor.ProBuilder
Assembly: Unity.ProBuilder.Editor.dll
Syntax
[Flags]
public enum MenuAction.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. |