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 Update TMP Font Atlas Texture by script

Discussion in 'UGUI & TextMesh Pro' started by Arkuni, Jun 1, 2022.

  1. Arkuni


    May 30, 2013
    Is there anyway to update the font atlas by script with the same options as when using the asset creator window?

    I have quite a lot of languages and lot of fonts, so I want to take the localization file, get all unique characters and then update all TMP font assets to only use those characters.
  2. Stephan_B


    Feb 26, 2017
    There are several users doing this already where I believe most of the necessary API functionality is exposed. You can use the TMP_FontAsset.AddCharacters... functions to populate font assets.