NotifyComponentChanged(in BindingId)
Notifies the data binding system that a field of an attached component changed, so a binding targeting that field (for example ${component:Tooltip}.text ) can publish the new value.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
NotifyComponentChanged(BindingId)
public void NotifyComponentChanged(in BindingId property)
Parameters
Remarks
Writing through changes data in place and fires nothing on its own; call this afterwards to drive bindings. The analyzer flags misses.
ref GetComponent<T>()UITKSG029