Page 1 of 1

transform this 1/2

Posted: Thu Sep 08, 2022 9:41 am
by rauljl1
Hi, Tony.
I would like to know if there is any way to transform this: 1/2 to
1
-
2
Even 2^2 to a power expresion.
Everything related to mathematics.
Thanks!

Re: transform this 1/2

Posted: Thu Sep 08, 2022 10:58 am
by Tony Li
Can you use the 1/2 Unicode character? ½

For exponents, you can use superscripts with TextMesh Pro, like: 10<sup>2</sup> for 10^2.

Re: transform this 1/2

Posted: Thu Sep 08, 2022 2:01 pm
by rauljl1
Yeah, but how to do it on a Dialogue Text??

Re: transform this 1/2

Posted: Thu Sep 08, 2022 2:19 pm
by Tony Li
Can't you just enter those in the Dialogue Text?

halfAndSuperscript.png
halfAndSuperscript.png (2.6 KiB) Viewed 347 times

Re: transform this 1/2

Posted: Thu Sep 08, 2022 2:48 pm
by rauljl1
<sup>2</sup> didn't work

Re: transform this 1/2

Posted: Thu Sep 08, 2022 3:05 pm
by Tony Li
Are you using TextMesh Pro? It's a TextMesh Pro-specific rich text tag. (See also: TextMesh Pro Support)

Re: transform this 1/2

Posted: Thu Sep 08, 2022 4:50 pm
by rauljl1
Ok. That works for me. Thanks!

Re: transform this 1/2

Posted: Thu Sep 08, 2022 6:55 pm
by Tony Li
Happy to help!