Summary
Adds an item which will run the `function` for each target of the `property`.
- Assembly
- UltEvents
.dll - Namespace
- UltEvents
.Editor - Containing Type
- PickerMenu
Syntax
public void AddItem(SerializedProperty property, string path, MenuFunctionState state, Action<SerializedProperty> function)
Parameters
| Name | Type | Description |
|---|---|---|
| property | SerializedProperty | |
| path | string | |
| state | MenuFunctionState | |
| function | Action |
Return Value
| Type | Description |
|---|---|
| void |