Version: 2021.1
言語: 日本語
public static SerializedProperty BindProperty (UIElements.IBindable field, SerializedObject obj);

パラメーター

field VisualElement field editing a property.
obj Root SerializedObject containing the bindable property.

戻り値

SerializedProperty The serialized object that owns the bound property.

説明

Binds a property to a field and synchronizes their values. This method finds the property using the field's binding path.


public static void BindProperty (UIElements.IBindable field, SerializedProperty property);

パラメーター

field VisualElement field editing a property.
property The SerializedProperty to bind.

説明

Binds a property to a field and synchronizes their values.