Summary
Adds an item which will run the `function` when selected.
- Assembly
- UltEvents
.dll - Namespace
- UltEvents
.Editor - Containing Type
- PickerMenu
Syntax
public void AddItem(string path, bool on, GenericMenu.MenuFunction function)
Parameters
| Name | Type | Description |
|---|---|---|
| path | string | |
| on | bool | |
| function | GenericMenu |
Return Value
| Type | Description |
|---|---|
| void |