- Home /
Power of two with textmesh pro
How do I make the little floating numbers like a power of two with textmesh pro ? I tried copying from the web but it pastes a regular two.
Comment
Answer by dweeh · Nov 17, 2020 at 08:45 AM
I think you can use markup tags.
To write 32 :
3<sup>2</sup>
TextMeshPro Rich text tags
http://digitalnativestudios.com/textmeshpro/docs/ScriptReference/RichTags.html
Zolran talks about it in this video at 14:30:
https://youtu.be/q3ROZmdu65o?t=871
To include special characters:
write \u + the code from the UTF-16 character list...
to write #
\u0023
Complete Character List for UTF-16:
http://www.fileformat.info/info/charset/UTF-16/list.htm
Your answer
![](https://koobas.hobune.stream/wayback/20220612194115im_/https://answers.unity.com/themes/thub/images/avi.jpg)