ドキュメント

Unity Engine

Unity Engine

BindingMode

Binding mode to control how a binding is updated.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public enum BindingMode

Remarks

To let the data binding system know that the value in the UI changed, use NotifyPropertyChanged.

Fields

Value

Description

ToSourceChanges will only be replicated from the UI to the data source for this binding.
ToTargetChanges will only be replicated from the source to the UI for this binding.
ToTargetOnceChanges will only be replicated once, from the source to the UI. This binding will be ignored on subsequent updates.
TwoWayChanges on the data source will be replicated in the UI. Changes on the UI will be replicated to the data source.