TextMeshPro Rich text tags

TextMeshPro Rich text tags


List of the valid rich text tags that can be inserted into the text to be displayed.


BoldUse <b> and </b>.
ItalicsUse <i> and </i>.
UnderlineUse <u> and </u>.
SuperscriptUse <sup> and </sup>
SubscriptUse <sub> and </sub>
LinefeedUse \n to force a linefeed.
TabUse \t which will add one tab stop.
PositionUse <pos=4.25> advances about 4.25 spaces.
SizeUse <size=36> to set point size to 36.
<size=+18> to increase the point size by 18 points.
<size=-14> to decrease the point size by 14 points.
</size> to end the size tag.
Color<color=red> to set the color to red. Several other colors are pre-defined.
<#FF8000> or any other hexadecimal code to define a color.
</color> to end the color tag.
©️2020 CSDN 皮肤主题: 编程工作室 设计师:CSDN官方博客 返回首页