Summary
Adds a menu item to execute the specified `function` for each of the `property`s target objects.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- Serialization
Syntax
public static void AddPropertyModifierFunction(this GenericMenu menu, SerializedProperty property, string label, Action<SerializedProperty> function)
Parameters
Name | Type | Description |
---|---|---|
menu | GenericMenu | |
property | SerializedProperty | |
label | string | |
function | Action |
Return Value
Type | Description |
---|---|
void |