GenericDropdown.

AddItem(SerializedProperty, string, MenuFunctionState, Action<SerializedProperty>) Method

Summary

Adds an item which will run the `function` for each target of the `property`.
Assembly
UltEvents.dll
Namespace
UltEvents.Editor
Containing Type
GenericDropdown

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<SerializedProperty>

Return Value

Type Description
void