Version: 2021.1
言語: 日本語
public static void TrackPropertyValue (UIElements.VisualElement element, SerializedProperty property, Action<SerializedProperty> callback);

パラメーター

element VisualElement tracking a property.
property SerializedProperty to track.
callback Invoked when the tracked SerializedProperty value changes.

説明

Checks the property values for changes every frame and invokes a callback when the property value changes. If no callback is specified, a SerializedPropertyChangeEvent is sent to the target element.