It is possible to add superscript to a GUI text? For example I need to say Square Feet (ft^2) or Cubic Kilometers (km^3) etc.
Thank you!
It is possible to add superscript to a GUI text? For example I need to say Square Feet (ft^2) or Cubic Kilometers (km^3) etc.
Thank you!
While Unity GUI has no support for different fonts/styles in a single text, this specific case can be solved by using the appropriate Unicode superscript characters, Like this: ft, km.
You just have to use a font which includes those characters, or, if you are using Unity 3, use dynamic font rendering.