DOText Method
DOText(Text, string, float, bool, ScrambleMode, string)
public static TweenerCore<string, string, StringOptions> DOText(this UnityEngine.UI.Text target, string endValue, float duration, bool richTextEnabled = true, ScrambleMode scrambleMode = null, string scrambleChars = null)
Tweens a Text's text to the given value. Also stores the Text as the tween's target so it can be used for filtered operations
Parameters
targetTextendValuestringThe end string to tween to
durationfloatThe duration of the tween
richTextEnabledboolIf TRUE (default), rich text will be interpreted correctly while animated, otherwise all tags will be considered as normal text
scrambleModeScrambleModeThe type of scramble mode to use, if any
scrambleCharsstringA string containing the characters to use for scrambling. Use as many characters as possible (minimum 10) because DOTween uses a fast scramble mode which gives better results with more characters. Leave it to NULL (default) to use default ones