기술 자료

Unity Engine

Unity Engine

Bind(VisualElement, SerializedObject)

Binds a SerializedObject to fields in the element hierarchy.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static void Bind(this VisualElement element, SerializedObject obj)

Parameters

Root VisualElement containing IBindable fields.

Data object.

Remarks

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