Docsv3.31.0
Back to API Reference
Class

ModifierFieldsAnimationHandler

sealed

Animates modifier fields from a Unity Animator: diffs every state field of every modifier in the host's styles and raises each field's own declared invalidation. Rebinds itself when the style graph changes.

Remarks

A field whose change notification requires a value transition is not diffed — drive it through its parameter surface (UniTextDriver, ownership) instead.
protected override void OnBind(UniTextBase host)

Snapshots the watched values as the comparison baseline and caches any per-bind metadata.

protected override void OnUnbind()

Drops any live binding held beyond Host. Default: nothing.

protected override void OnDiff(UniTextBase host)

Diffs watched values, refreshes their baselines, and raises the matching granular invalidation.