Class MenuActionSettings
An EditorAction for displaying MenuAction settings overlay and action previewing.
Inherited Members
EditorAction.Start<T>()
EditorAction.Start<T>(T)
Namespace: UnityEditor.ProBuilder
Assembly: Unity.ProBuilder.Editor.dll
Syntax
public class MenuActionSettings : EditorAction
Constructors
MenuActionSettings(MenuAction, bool)
MenuActionSettings constructor.
Declaration
public MenuActionSettings(MenuAction action, bool hasPreview = false)
Parameters
Type | Name | Description |
---|---|---|
MenuAction | action | The MenuAction for which to display a settings overlay. |
bool | hasPreview | Indicates if the action can be previewed. |