기술 자료

Unity Engine

Unity Engine

BindProperty

Binds a property to a field and synchronizes their values. This method finds the property using the field's binding path.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

BindProperty(IBindable, SerializedObject)

Binds a property to a field and synchronizes their values. This method finds the property using the field's binding path.
public static SerializedProperty BindProperty(this IBindable field, SerializedObject obj)

Parameters

VisualElement field editing a property.

Root SerializedObject containing the bindable property.

Returns

Type

Description

SerializedPropertyThe serialized object that owns the bound property.

BindProperty(IBindable, SerializedProperty)

Binds a property to a field and synchronizes their values.
public static void BindProperty(this IBindable field, SerializedProperty property)

Parameters

VisualElement field editing a property.

The SerializedProperty to bind.