Setting up texts
UI Toolkit
From the UI Builder

Via Code
Text Mesh Pro

Best Practices for setting text via code
using UnityEngine;
using TMPro;
using Febucci.TextAnimatorForUnity.TextMeshPro; // <- import Text Animator's namespace
public class ExampleScript : MonoBehaviour
{
[SerializeField] TMP_Text textMeshPro;
[SerializeField] TextAnimator_TMP textAnimator;
void Start()
{
// 🚫 Don't: set text through TMPro
textMeshPro.SetText("<wave>hello");
// ✅ Do: set text through Text Animator directly
textAnimator.SetText("<wave>hello");
}
}