Back to API Reference
Class
UniTextFieldsAnimationHandler
Inherits:AnimationHandler
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.
CC
UniText3DFieldsAnimationHandler
The UniTextFieldsAnimationHandler for extruded text: also animates every field of UniText3D — depth, pivot, edges, faces, smoothing, curve tolerance and materials — raising each field's own change handling when the Animator writes it.
UniTextWorldFieldsAnimationHandler
The UniTextFieldsAnimationHandler for world-space text: also animates UniTextWorld.SortingOrder, UniTextWorld.SortingLayerID, and UniTextWorld.CastShadows, re-keying the batch when the Animator changes them.
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.
