Version: 1.4
LanguageEnglish
  • C#

BindingExtensions.Bind

Declaration

public static void Bind(UIElements.VisualElement element, SerializedObject obj);

Parameters

element Root VisualElement containing IBindable fields.
obj Data object.

Description

Binds a SerializedObject to fields in the element hierarchy.

Don’t call Bind() from the @@Editor.CreateInspectorGUI()@2 or PropertyDrawer.CreatePropertyGUI() override. It is called automatically on the hierarchy that these methods return.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答