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.


Did you find this page useful? Please give it a rating: