Serialization.

ModifyValues<T>(SerializedProperty, Action<T>, string) Method

Summary

Calls the specified `method` for each of the underlying values of the `property` (in case it represents multiple selected objects) and records an undo step for any modifications made.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
Serialization

Syntax

public static void ModifyValues<T>(this SerializedProperty property, Action<T> method, string undoName = "Inspector")

Type Parameters

Name Description
T

Parameters

Name Type Description
property SerializedProperty
method Action<T>
undoName string

Return Value

Type Description
void