Summary
[Editor-Only] An
AdvancedDropdown with generic callback delegates.- Assembly
- UltEvents
.dll - Namespace
- UltEvents
.Editor - Base Types
-
- AdvancedDropdown
graph BT
Type-->Base0["AdvancedDropdown"]
Type["PickerMenu"]
class Type type-node
Syntax
public class PickerMenu : AdvancedDropdown
Constructors
| Name | Summary |
|---|---|
| PickerMenu |
Creates a new UltEvents.Editor.PickerMenu. |
Fields
| Name | Constant Value | Summary |
|---|---|---|
| ContextMenuStyle |
If true, a
UnityEditor.GenericMenu will be used
instead of the AdvancedDropdown.
|
Methods
| Name | Value | Summary |
|---|---|---|
| AddDisabledItem |
void |
Adds an item which can't be selected.
|
| AddItem |
void |
Adds an item which will run the `function` for each target of the `property`.
|
| AddItem |
void |
Adds an item which will run the `function` when selected.
|
| AddSeparator |
void |
Adds a separator line.
|
| BuildRoot |
AdvancedDropdownItem | |
| DrawTypeField |
void |
Draws a field which lets you pick a
System.Type from a list.static
|
| ItemSelected |
void | |
| ShowContext |
void |
Shows this menu relative to the `area`.
|