Docsv3.31.0
Back to API Reference
Class

UniTextFieldsAnimationHandler

Animates a text component's own fields from a Unity Animator: font size, colour, word wrap, auto-size and its min/max, and horizontal/vertical alignment. Add it to the UniTextAnimationBridge on a UniText; use UniTextWorldFieldsAnimationHandler for a UniTextWorld.

Derived Types(2)

Types that inherit from UniTextFieldsAnimationHandler.

protected override void OnBind(UniTextBase host)

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

protected override void OnDiff(UniTextBase host)

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

protected virtual void OnBindExtra(UniTextBase host)

Snapshots a subclass's extra fields into the baseline. Mirror of OnDiffExtra.

protected virtual UniTextDirty OnDiffExtra(UniTextBase host)

Diffs a subclass's extra fields, refreshing their baseline, and returns the flags to fold into the single UniTextBase.SetDirty the base issues.