You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PlumberUltimateAds/Assets/Demigiant/DOTweenPro/DOTweenTextMeshPro.cs

356 lines
22 KiB
C#

Squashed commit of the following: commit 761fe0f0e39341baeea362d1a24b85307c6533bf Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Thu Oct 17 17:30:04 2024 +0500 Fixed some spash issues commit a29c5d792ee1e70828ca21d11b1d0e8b57194d3b Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Thu Oct 17 16:57:44 2024 +0500 Fixed Splash issue commit 4000ab25110d0593dfe5ad5eea81a4109a744464 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Thu Oct 17 16:00:08 2024 +0500 fixed spalsh issue commit df377a68259ee183783ce1d898258a26e9f7e6de Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Thu Oct 17 00:59:51 2024 +0500 Reapply "Fixed Splash Animation" This reverts commit b13733598e066c087cc1835f0e566d9fc6e4ebb3. commit b13733598e066c087cc1835f0e566d9fc6e4ebb3 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Thu Oct 17 00:39:51 2024 +0500 Revert "Fixed Splash Animation" This reverts commit 7ca6548075765db1bc2f62015ffec7fecb6235de. commit 7ca6548075765db1bc2f62015ffec7fecb6235de Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Wed Oct 16 17:19:40 2024 +0500 Fixed Splash Animation commit ec93b630739611fe012cd30c081421d4f63f3395 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Wed Oct 16 16:52:15 2024 +0500 Added New Pipes commit 47925d7b4d767d72f41a8e24b2728645a6444771 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Tue Oct 15 18:08:10 2024 +0500 Some indentation commit 0c342ac10c38154817b2e11f05821b0f1a1ea674 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Tue Oct 15 18:07:14 2024 +0500 Increased Level Cell Size commit f3a7e3ed5a1ae97a6aae36cd9e1c87f206a1488c Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Tue Oct 15 18:02:58 2024 +0500 Revert "Increased Cell size" This reverts commit 6e4c1672ba8e63276cfe45afed9af56abb7668de. commit 6e4c1672ba8e63276cfe45afed9af56abb7668de Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Tue Oct 15 17:48:28 2024 +0500 Increased Cell size commit dce666657f57307688c7633084330aec07052f78 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Tue Oct 15 17:36:13 2024 +0500 Added Ranked Up Screen commit d4883314781598c9a3444930ac0a956b1b088890 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Tue Oct 15 14:13:54 2024 +0500 Added new Level Complete Screen commit 1ef6d7cf34773c89b12723f99e26b6aa6043745a Author: TG9six <totalgamer.tg.x@gmail.com> Date: Mon Oct 14 12:04:04 2024 +0400 UI improved Level selection change anchoring improved commit ea8f9899e856e021978159125a8e782bd0cf3a53 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Fri Oct 11 21:05:40 2024 +0500 All UI Done commit d656fb09a601bc57f1e6d004b83256ce26e59d97 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Fri Oct 11 19:15:22 2024 +0500 Added Level Screen commit f131e38a6b7ea830ae6816df16d148bbf3847dcd Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Fri Oct 11 17:13:26 2024 +0500 Gameplay UI Done commit a695895c90522a7208abfa9edc07040021362799 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Fri Oct 11 16:36:09 2024 +0500 Added all gameplay UI commit ab259bf005c7dc1bf01cc334da9b5dd701818496 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Fri Oct 11 11:21:47 2024 +0500 Added Level Type Selection Screen commit 8cebd78cfeec4fea53a38687d8c244c8ff08f15b Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Thu Oct 10 21:33:27 2024 +0500 Added RateUs commit 901e44afafb7b0bca1209df744d9a0be1012cd0b Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Thu Oct 10 20:56:50 2024 +0500 Before addiung unity figma bridge commit bdc01bcb186e1714d5b7efa061418e979b926312 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Thu Oct 10 19:36:39 2024 +0500 Added Settings menu commit 85b53482054a0f4831dc62ca805dbc8a96e474e5 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Wed Oct 9 19:13:39 2024 +0500 Added Main Menu Screen commit a80c82c82f91563ea3a06a5d7cb4219dc9520b14 Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Wed Oct 9 17:26:31 2024 +0500 Added new main menu UI commit 833a599da1496f33d46bd2f32457ad2b16f6bd9d Author: Hazim Bin Ijaz <hazimijaz_gamedev@rizzestudios.com> Date: Wed Oct 9 13:22:52 2024 +0500 Added MainMenu Animation
5 months ago
// Author: Daniele Giardini - http://www.demigiant.com
// Created: 2015/03/27 19:02
//
// License Copyright (c) Daniele Giardini.
// This work is subject to the terms at http://dotween.demigiant.com/license.php
#if false // MODULE_MARKER
using UnityEngine;
using TMPro;
namespace DG.Tweening
{
/// <summary>
/// Methods that extend TMP_Text objects and allow to directly create and control tweens from their instances.
/// </summary>
public static class ShortcutExtensionsTMPText
{
#region Colors
/// <summary>Tweens a TextMeshPro's color to the given value.
/// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
public static Tweener DOColor(this TMP_Text target, Color endValue, float duration)
{
return DOTween.To(() => target.color, x => target.color = x, endValue, duration)
.SetTarget(target);
}
/// <summary>Tweens a TextMeshPro's faceColor to the given value.
/// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
public static Tweener DOFaceColor(this TMP_Text target, Color32 endValue, float duration)
{
return DOTween.To(() => target.faceColor, x => target.faceColor = x, endValue, duration)
.SetTarget(target);
}
/// <summary>Tweens a TextMeshPro's outlineColor to the given value.
/// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
public static Tweener DOOutlineColor(this TMP_Text target, Color32 endValue, float duration)
{
return DOTween.To(() => target.outlineColor, x => target.outlineColor = x, endValue, duration)
.SetTarget(target);
}
/// <summary>Tweens a TextMeshPro's glow color to the given value.
/// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
/// <param name="useSharedMaterial">If TRUE will use the fontSharedMaterial instead than the fontMaterial</param>
public static Tweener DOGlowColor(this TMP_Text target, Color endValue, float duration, bool useSharedMaterial = false)
{
return useSharedMaterial
? target.fontSharedMaterial.DOColor(endValue, "_GlowColor", duration).SetTarget(target)
: target.fontMaterial.DOColor(endValue, "_GlowColor", duration).SetTarget(target);
}
/// <summary>Tweens a TextMeshPro's alpha color to the given value.
/// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
public static Tweener DOFade(this TMP_Text target, float endValue, float duration)
{
return DOTween.ToAlpha(() => target.color, x => target.color = x, endValue, duration)
.SetTarget(target);
}
/// <summary>Tweens a TextMeshPro faceColor's alpha to the given value.
/// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
public static Tweener DOFaceFade(this TMP_Text target, float endValue, float duration)
{
return DOTween.ToAlpha(() => target.faceColor, x => target.faceColor = x, endValue, duration)
.SetTarget(target);
}
#endregion
#region Other
/// <summary>Tweens a TextMeshPro's scale to the given value (using correct uniform scale as TMP requires).
/// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
public static Tweener DOScale(this TMP_Text target, float endValue, float duration)
{
Transform t = target.transform;
Vector3 endValueV3 = new Vector3(endValue, endValue, endValue);
return DOTween.To(() => t.localScale, x => t.localScale = x, endValueV3, duration).SetTarget(target);
}
/// <summary>Tweens a TextMeshPro's fontSize to the given value.
/// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
public static Tweener DOFontSize(this TMP_Text target, float endValue, float duration)
{
return DOTween.To(() => target.fontSize, x => target.fontSize = x, endValue, duration)
.SetTarget(target);
}
/// <summary>Tweens a TextMeshPro's maxVisibleCharacters to the given value.
/// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
public static Tweener DOMaxVisibleCharacters(this TMP_Text target, int endValue, float duration)
{
return DOTween.To(() => target.maxVisibleCharacters, x => target.maxVisibleCharacters = x, endValue, duration)
.SetTarget(target);
}
/// <summary>Tweens a TextMeshPro's text to the given value.
/// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end string to tween to</param><param name="duration">The duration of the tween</param>
/// <param name="richTextEnabled">If TRUE (default), rich text will be interpreted correctly while animated,
/// otherwise all tags will be considered as normal text</param>
/// <param name="scrambleMode">The type of scramble mode to use, if any</param>
/// <param name="scrambleChars">A 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</param>
public static Tweener DOText(this TMP_Text target, string endValue, float duration, bool richTextEnabled = true, ScrambleMode scrambleMode = ScrambleMode.None, string scrambleChars = null)
{
return DOTween.To(() => target.text, x => target.text = x, endValue, duration)
.SetOptions(richTextEnabled, scrambleMode, scrambleChars)
.SetTarget(target);
}
#endregion
}
// /// <summary>
// /// Methods that extend TextMeshPro objects and allow to directly create and control tweens from their instances.
// /// </summary>
// public static class ShortcutExtensionsTextMeshPro
// {
// #region Colors
//
// /// <summary>Tweens a TextMeshPro's color to the given value.
// /// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOColor(this TextMeshPro target, Color endValue, float duration)
// {
// return DOTween.To(() => target.color, x => target.color = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshPro's faceColor to the given value.
// /// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOFaceColor(this TextMeshPro target, Color32 endValue, float duration)
// {
// return DOTween.To(() => target.faceColor, x => target.faceColor = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshPro's outlineColor to the given value.
// /// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOOutlineColor(this TextMeshPro target, Color32 endValue, float duration)
// {
// return DOTween.To(() => target.outlineColor, x => target.outlineColor = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshPro's glow color to the given value.
// /// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// /// <param name="useSharedMaterial">If TRUE will use the fontSharedMaterial instead than the fontMaterial</param>
// public static Tweener DOGlowColor(this TextMeshPro target, Color endValue, float duration, bool useSharedMaterial = false)
// {
// return useSharedMaterial
// ? target.fontSharedMaterial.DOColor(endValue, "_GlowColor", duration).SetTarget(target)
// : target.fontMaterial.DOColor(endValue, "_GlowColor", duration).SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshPro's alpha color to the given value.
// /// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOFade(this TextMeshPro target, float endValue, float duration)
// {
// return DOTween.ToAlpha(() => target.color, x => target.color = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshPro faceColor's alpha to the given value.
// /// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOFaceFade(this TextMeshPro target, float endValue, float duration)
// {
// return DOTween.ToAlpha(() => target.faceColor, x => target.faceColor = x, endValue, duration)
// .SetTarget(target);
// }
//
// #endregion
//
// #region Other
//
// /// <summary>Tweens a TextMeshPro's scale to the given value (using correct uniform scale as TMP requires).
// /// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOScale(this TextMeshPro target, float endValue, float duration)
// {
// Transform t = target.transform;
// Vector3 endValueV3 = new Vector3(endValue, endValue, endValue);
// return DOTween.To(() => t.localScale, x => t.localScale = x, endValueV3, duration).SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshPro's fontSize to the given value.
// /// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOFontSize(this TextMeshPro target, float endValue, float duration)
// {
// return DOTween.To(() => target.fontSize, x => target.fontSize = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshPro's maxVisibleCharacters to the given value.
// /// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOMaxVisibleCharacters(this TextMeshPro target, int endValue, float duration)
// {
// return DOTween.To(() => target.maxVisibleCharacters, x => target.maxVisibleCharacters = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshPro's text to the given value.
// /// Also stores the TextMeshPro as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end string to tween to</param><param name="duration">The duration of the tween</param>
// /// <param name="richTextEnabled">If TRUE (default), rich text will be interpreted correctly while animated,
// /// otherwise all tags will be considered as normal text</param>
// /// <param name="scrambleMode">The type of scramble mode to use, if any</param>
// /// <param name="scrambleChars">A 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</param>
// public static Tweener DOText(this TextMeshPro target, string endValue, float duration, bool richTextEnabled = true, ScrambleMode scrambleMode = ScrambleMode.None, string scrambleChars = null)
// {
// return DOTween.To(() => target.text, x => target.text = x, endValue, duration)
// .SetOptions(richTextEnabled, scrambleMode, scrambleChars)
// .SetTarget(target);
// }
//
// #endregion
// }
//
// /// <summary>
// /// Methods that extend TextMeshProUGUI objects and allow to directly create and control tweens from their instances.
// /// </summary>
// public static class ShortcutExtensionsTextMeshProUGUI
// {
// #region Colors
//
// /// <summary>Tweens a TextMeshProUGUI's color to the given value.
// /// Also stores the TextMeshProUGUI as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOColor(this TextMeshProUGUI target, Color endValue, float duration)
// {
// return DOTween.To(() => target.color, x => target.color = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshProUGUI's faceColor to the given value.
// /// Also stores the TextMeshProUGUI as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOFaceColor(this TextMeshProUGUI target, Color32 endValue, float duration)
// {
// return DOTween.To(() => target.faceColor, x => target.faceColor = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshProUGUI's outlineColor to the given value.
// /// Also stores the TextMeshProUGUI as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOOutlineColor(this TextMeshProUGUI target, Color32 endValue, float duration)
// {
// return DOTween.To(() => target.outlineColor, x => target.outlineColor = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshProUGUI's glow color to the given value.
// /// Also stores the TextMeshProUGUI as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// /// <param name="useSharedMaterial">If TRUE will use the fontSharedMaterial instead than the fontMaterial</param>
// public static Tweener DOGlowColor(this TextMeshProUGUI target, Color endValue, float duration, bool useSharedMaterial = false)
// {
// return useSharedMaterial
// ? target.fontSharedMaterial.DOColor(endValue, "_GlowColor", duration).SetTarget(target)
// : target.fontMaterial.DOColor(endValue, "_GlowColor", duration).SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshProUGUI's alpha color to the given value.
// /// Also stores the TextMeshProUGUI as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOFade(this TextMeshProUGUI target, float endValue, float duration)
// {
// return DOTween.ToAlpha(() => target.color, x => target.color = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshProUGUI faceColor's alpha to the given value.
// /// Also stores the TextMeshProUGUI as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOFaceFade(this TextMeshProUGUI target, float endValue, float duration)
// {
// return DOTween.ToAlpha(() => target.faceColor, x => target.faceColor = x, endValue, duration)
// .SetTarget(target);
// }
//
// #endregion
//
// #region Other
//
// /// <summary>Tweens a TextMeshProUGUI's scale to the given value (using correct uniform scale as TMP requires).
// /// Also stores the TextMeshProUGUI as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOScale(this TextMeshProUGUI target, float endValue, float duration)
// {
// Transform t = target.transform;
// Vector3 endValueV3 = new Vector3(endValue, endValue, endValue);
// return DOTween.To(() => t.localScale, x => t.localScale = x, endValueV3, duration).SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshProUGUI's fontSize to the given value.
// /// Also stores the TextMeshProUGUI as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOFontSize(this TextMeshProUGUI target, float endValue, float duration)
// {
// return DOTween.To(() => target.fontSize, x => target.fontSize = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshProUGUI's maxVisibleCharacters to the given value.
// /// Also stores the TextMeshProUGUI as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
// public static Tweener DOMaxVisibleCharacters(this TextMeshProUGUI target, int endValue, float duration)
// {
// return DOTween.To(() => target.maxVisibleCharacters, x => target.maxVisibleCharacters = x, endValue, duration)
// .SetTarget(target);
// }
//
// /// <summary>Tweens a TextMeshProUGUI's text to the given value.
// /// Also stores the TextMeshProUGUI as the tween's target so it can be used for filtered operations</summary>
// /// <param name="endValue">The end string to tween to</param><param name="duration">The duration of the tween</param>
// /// <param name="richTextEnabled">If TRUE (default), rich text will be interpreted correctly while animated,
// /// otherwise all tags will be considered as normal text</param>
// /// <param name="scrambleMode">The type of scramble mode to use, if any</param>
// /// <param name="scrambleChars">A 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</param>
// public static Tweener DOText(this TextMeshProUGUI target, string endValue, float duration, bool richTextEnabled = true, ScrambleMode scrambleMode = ScrambleMode.None, string scrambleChars = null)
// {
// return DOTween.To(() => target.text, x => target.text = x, endValue, duration)
// .SetOptions(richTextEnabled, scrambleMode, scrambleChars)
// .SetTarget(target);
// }
//
// #endregion
// }
}
#endif