Version: 2020.1
LanguageEnglish
  • C#

BindingExtensions

class in UnityEditor.UIElements

/

Implemented in:UnityEditor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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

Static Properties

prefabOverrideUssClassNameUSS class added to element when in prefab override mode.

Static Methods

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.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答