Unity官网富文本标签https://docs.unity3d.com/Packages/com.unity.textmeshpro@4.0/manual/RichTextSubSuper.html
- 角标
We have 1m<sup>3</sup> of H<sub>2</sub>O.
- 行缩进
<line-indent=15%>This is the first line of this text example. This is the second line of the same text.
该
<line-indent>
标签直接在其后面和每个新行开始之前插入水平空格。它仅影响手动换行符(包括使用标记创建的换行符<br>,而不是自动换行。)您可以以像素、字体单位或百分比指定缩进。结束标记</line-indent>
结束行的缩进。当line-indent=20(无百分号时),此时数字代表的就是字体大小(字体设置20时,=20就占用一个字符位,=40时就占用两个字符位) -