I have two Texts, and I want the font size of the second one to be 80% of the first. The first one has ‘best fit’ checked. How do I find the current font size of the first Text?
Scripting reference doesn’t seem to have anything. “fontSize” member reports the font size set in the editor, and doesn’t update as the best fit logic happens.
If this isn’t possible, then I need a way to set a font size and have the font object scale with resolution, instead of having a pixel-based font size. In other words, I’d want the size-10 font to be relative to Unity Units, not relative to Resolution Pixels.