Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

unity new ui subscript/superscript problem

Discussion in 'UGUI & TextMesh Pro' started by Hippiecode, Apr 28, 2015.

  1. Hippiecode

    Hippiecode

    Joined:
    Feb 13, 2012
    Posts:
    110
    hi to all,
    Unity New UI Text component is not support Subscript and Superscript like NGUI.Plz Give me a solution for that.

    Regards,
    Ganesh.
     
  2. Nikola-B

    Nikola-B

    Joined:
    Jan 31, 2014
    Posts:
    42
    Take a look at Text Mesh Pro which supports Superscript / Subscript and a lot more. Here is a link to the Asset Store forum thread which includes lots of examples including this one of using Superscript and Subscript.



    There are lots of videos showing off the product like this one which also includes an example of using Superscript.

     
    Stephan-B likes this.
  3. Hippiecode

    Hippiecode

    Joined:
    Feb 13, 2012
    Posts:
    110
    Thanks for your reply mr.Nikola.Now my Question is how can i get Hindi language font for TextMeshPro.
     
  4. Stephan-B

    Stephan-B

    Unity Technologies

    Joined:
    Feb 23, 2011
    Posts:
    2,269
    I guess I can reply to this one.

    TextMesh Pro includes a built-in Font Asset Creator which allows you to take any .ttf or Truetype font to create the font asset from. Here is a video which explains the process of creating a font asset as well as material presets which allow you to dynamically change the appearance of the text while still using the same Font Asset.



    BTW: If you give me a link to the font you are planning on using along with some example text, I can produce an example for you.