Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BindingExtensions

Provides VisualElement extension methods that implement data binding between INotifyValueChanged fields and SerializedObjects.
Read time 1 minuteLast updated 9 days ago

Definition

public static class BindingExtensions

Static Fields

Value

Description

prefabOverrideUssClassNameUSS class added to element when in prefab override mode.

Static Methods

Method

Description

BindBinds a SerializedObject to fields in the element hierarchy.
BindPropertyBinds a property to a field and synchronizes their values. This method finds the property using the field's binding path.
TrackPropertyValueExecutes the callback when the property value changes. Unity checks properties for changes at regular intervals during the update loop. If no callback is specified, a SerializedPropertyChangeEvent is sent to the target element.
TrackSerializedObjectValueExecutes the callback when the property value changes. Unity checks properties for changes at regular intervals during the update loop. If no callback is specified, a SerializedPropertyChangeEvent is sent to the target element.
UnbindDisconnects all properties bound to fields in the element's hierarchy.