namesyer.blogg.se

Extract tmpro assets from unity
Extract tmpro assets from unity







extract tmpro assets from unity extract tmpro assets from unity extract tmpro assets from unity

I've looked everywhere and could not find a satisfying answer. I could not find any information regarding how to do this in TMP.ĭynamic OS font asset apparently requires a reference font which it finds the closes font at runtime (but that's not what I want! I don't want closest matching family, I just want the default) Font.GetPathsToOSFonts doesn't tell you which one is the default TMP_FontAsset.CreateFontAsset wants you to specific a family. In UGUI Text it's as simple as just setting the font face to Arial, and it will pull the default system font at runtime no matter what. However my game has a huge amount of user generated content which includes CJK characters a big part of my game also works more like a browser where you browse user generated content (think a forum/social media), and I would like to use the default system font (Android user can even change this themselves) rather than forcing a specific font style. My game targets mobile (iOS and Android) and I'm in the process of migrating from legacy UGUI Text to TMP.









Extract tmpro assets from unity