This version of Unity is unsupported.

BindingExtensions.TrackSerializedObjectValue

Declaration

public static void TrackSerializedObjectValue(UIElements.VisualElement element, SerializedObject obj, Action<SerializedObject> callback);

Parameters

element VisualElement tracking an object.
property The SerializedObject to track.
callback Invoked when one of the tracked SerializedObject's value changes.

Description

Checks the object for changes at regular intervals. Executes the callback when the object value changes. If no callback is specified, a SerializedObjectChangeEvent is sent to the target element.