Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

NotifyComponentChanged(BindingId)

public void NotifyComponentChanged(in BindingId property)

Parameters

property

Remarks

Writing through
ref GetComponent<T>()
changes data in place and fires nothing on its own; call this afterwards to drive bindings. The
UITKSG029
analyzer flags misses.