提供 VisualElement 扩展方法,从而实现 INotivyValueChanged 字段和 SerializedObjects 之间的数据绑定。
prefabOverrideUssClassName | 在预制件覆盖模式下添加到元素的 USS 类。 |
Bind | 将 SerializedObject 绑定到元素层级视图中的字段。 |
BindProperty | 将属性绑定到字段并同步它们的值。此方法使用字段的绑定路径来查找属性。 |
TrackPropertyValue | 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. |
Unbind | 断开绑定到元素层级视图中的字段的所有属性。 |