Bind(VisualElement, SerializedObject)
Binds a SerializedObject to fields in the element hierarchy.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.UIElements
- Assembly: UnityEditor.CoreModule
public static void Bind(this VisualElement element, SerializedObject obj)
Parameters
Remarks
Don’t call from the @@Editor.CreateInspectorGUI()@2 or override. It is called automatically on the hierarchy that these methods return.
Bind()PropertyDrawer.CreatePropertyGUI()