Add support for TextMeshProUGUI.fontSize property
Zerithax
I am in the process of adding a prefab that processes string loaded information and adds it to a TMPUGUI object, however I have run into an obstacle where I am unable to dynamically scale the headers due to an inability to access the TextMeshProUGUI.fontSize property.
Seeing as this doesn't seem like an overstep in any direction and is just basic TMP support, please add support for us to be able to Get this property! Setting it from Udon would be great as well.
Log In
Fax
Thank you for the request!
Would
fontSize
give you similar capabilities are the <size>
tag?Zerithax
Thanks for the reply Fax!
I’m trying to add dynamic text sizing for custom headers based on the existing font size of the tmp asset itself. I’m doing this by using <size> tags with a pre-configured value, but I would rather it be a scaled value from the tmp’s font size itself so updating said font size automatically updates the generated headers as well.