I m making a game using real world scale and during my character selection phase I want to show some stats in a 3D view behind the character. I’ll post a screenshot of the “Buy character” screen below to give you an example of what I mean.
The thing is, I can’t seem to get fonts that small… I remember Unity showing us how text can be displayed in-game to show what is going on on a PC terminal and that is basically the exact behavior I am after but I just can’t seem to make text that small…
On my normal, full screen GUI where I do all the rest of my GUI stuff, there I use a Dynamic font set to 16 and it works great. When I try to do the same with the other canvas, not so much…
If I set the text to 16 it is larger than the entire scene. When I set it to 1 all I see is a blur. So then I change the font type from dynamic to fixed and then it works just fine but if I import the font into Unity at 16 then use it at size 1 in the scene, again all I get is a blur… The higher I set the font size on import the better the RESOLUTION of the font in the scene. I seem to get best results with an import size of 90. That gives me clear text that is actually readable, not just a blur…
However, if I set the font size to 1 on the Text component, Each letter is the size of my character’s head and larger values behave accordingly. Even the smallest of words are larger than my entire Panel and cause the text to be written one character on a line but it all starts UNDER the terrain and is nowhere NEAR visible in my scene.
Eventually I had to resort to faking the text by making images in Photoshop and now I need to fake the buttons because I can’t show the text in the graphic and then load a button on top as that will hide the text and again force me to use the fonts that I can’t see to get small enough to be usable…
So, does anyone have any ideas how I can use Unity UI to do in-game text at a small scale?
Thanks
