Experimental: this API is experimental and might be changed or removed in the future.

BindingExtensions

class in UnityEditor.Experimental.UIElements

切换到手册

描述

Provides VisualElement extension methods that implement data binding between INotivyValueChanged fields and SerializedObjects.

静态函数

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.
UnbindDisconnects all properties bound to fields in the element's hierarchy.