NGUI: Next-Gen UI kit
3.7.2
|
Property binding lets you bind two fields or properties so that changing one will update the other. More...
Public Member Functions | |
void | UpdateTarget () |
Immediately update the bound data. More... | |
Public Attributes | |
PropertyReference | source |
First property reference. More... | |
PropertyReference | target |
Second property reference. More... | |
Direction | direction = Direction.SourceUpdatesTarget |
Direction of updates. More... | |
UpdateCondition | update = UpdateCondition.OnUpdate |
When the property update will occur. More... | |
bool | editMode = true |
Whether the values will update while in edit mode. More... | |
Property binding lets you bind two fields or properties so that changing one will update the other.
void PropertyBinding.UpdateTarget | ( | ) |
Immediately update the bound data.
Direction PropertyBinding.direction = Direction.SourceUpdatesTarget |
Direction of updates.
bool PropertyBinding.editMode = true |
Whether the values will update while in edit mode.
PropertyReference PropertyBinding.source |
First property reference.
PropertyReference PropertyBinding.target |
Second property reference.
UpdateCondition PropertyBinding.update = UpdateCondition.OnUpdate |
When the property update will occur.