using TMPro; public TextMeshProUGUI text; text.text = "Text updated. <sub>Subscript</sub> <sup>Superscript</sup> <b>Bold</b> <u>Underlined</u>";