Skip to content

Change Text Font Size Sequential

Change Text Size

This sequential changes the font size of TextMeshPro component with animation.

Base Properties

To learn about the common Base Properties, please see Base Sequential

Target Object Options

This sequential derives from Object Returner Sequential and gets all its properties from that sequential. So, to learn about the Target Object Options please see Object Returner Sequential

Animation Options

This sequential derives from Animation Sequential and gets all of its properties. So, to learn about the __Animation Options please see Animation Base

Target Object

Target Object (or Target Objects if Multiple Objects are returned) needs to be TextMeshPro type. So please make sure that the game object assigned in this field has a TextMeshPro component attached. Otherwise you'll see a runtime error log when this sequential plays.

Important

Make sure AutoSize property of TMP Text is disabled!

End Value Type

This option determines the calculation of the end value of the font size.

Initial to Value

This modifies the target text's font size from its initial value (the value before this sequential starts) to the Font Size.

From Value to Initial

This sets the target text's font size to the Font Size and then modifies it to its initial value again.

Initial Plus Value

This adds Font Size to the target text's initial font size and modifies it to the calculated end value.

Initial Multiply Value

This multiplies the text's initial font size with the Font Size and modifies the target text's font size to the calculated value.

From A to B

This lets you define the starting font size and end font size of the animation independent from the initial font size of the target text.

Font Size

This is the font size that determines the end font size in accordance with the End Value Type option as explained above.

It's possible to assign different kind of values to this property (e.g. directly, randomly, from variable).

Info

To learn more about assigning values with different options, see Value Assign

From Value

This is only available when the End Value Type is From A to B.

This is the starting font size of the animation.