Search Unity

TextMesh Pro Align top,bottom,middle in RichText

Discussion in 'Unity UI (uGUI) & TextMesh Pro' started by atelierxayesha, Aug 15, 2019.

  1. atelierxayesha

    atelierxayesha

    Joined:
    Aug 15, 2019
    Posts:
    1
    As stated on the title, what tags should I use to align top,bottom,middle
     
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    3,192
    There are no tag for vertical alignment since vertical alignment applies to the entire text object and not individual lines or blocks of text.

    To control alignment on the text, use the TMP_Text.alignment property.

    Any specific reason why you were looking to control vertical alignment via Rich Text tags?