Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Assign a different font to each item in a TMP_Dropdown

Discussion in 'UGUI & TextMesh Pro' started by InfiniteMonkey, Mar 1, 2024.

  1. InfiniteMonkey

    InfiniteMonkey

    Joined:
    Oct 8, 2016
    Posts:
    23
    Hi,
    For the TMP_Dropdown where the player selects which language they want, I need to be able to assign a different font to each item, as no single font has all the glyphs I need (or they might, but that introduces it's own annoying issues). So:

    1) How might I assign a different font to each item
    and also
    2) How might I make sure that the label uses the font of the selected item?

    Thank you!