Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BindingMode

Binding mode to control how a binding is updated.
Read time 1 minuteLast updated 5 days ago

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.