Summary
Executes the `action` once with a new
UnityEditor.SerializedProperty
for each of the
UnityEditor.SerializedObject.targetObjects
. Or if there is only one target, it uses the `property`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- Serialization
Syntax
public static void ForEachTarget(this SerializedProperty property, Action<SerializedProperty> function, string undoName = "Inspector")
Parameters
Name | Type | Description |
---|---|---|
property | SerializedProperty | |
function | Action |
|
undoName | string |
Return Value
Type | Description |
---|---|
void |