m doing an Android Game, and Android devices have many different, like Galaxy 5 (240 x 320) and Motorola Droid (480 x 854). So, i already made the size of my GUI elements relative to Screen Size, but now Im looking for an efficient way to alter font size basead in the Screen Size.
I already found that I can duplicate the fonts, make each one with a size and alter the GUI Style of my GUI Elements, but i dont find it a good solution.
Another alternative is use text as image, but then i cant make a proper internalization or have dynamic text.
So, there is better solutions?
asked Jan 03, 2011 at 12:23 AM
My company developed a tool called the MultiPlatform ToolKit, which is available now on the Unity Asset store. It handles swapping fonts and font materials based on screen size, so long as you're using TextMesh objects. We used this extensively in our Snuggle Truck project.
Feel free to check it out: http://smuggletruck.com/multiplatform and specifically, take a look at Tutorials #3 and #5 which cover the process of doing something similar. You'd be using the Fonts pane to swap out a different Font and Font Material based on your platform/aspect ratio.