- Home /
Question by
unity_VV3I0tt_M0sbSg · Feb 05, 2021 at 10:17 PM ·
scripting problemscript.fonts
How to set some Font properties
I'm trying to create a font based on a PNG file using "Custom Font" asset and using scripting to automate this process. I can't set Font.lineHeight property from inside script (since it does not have a setter), although you can edit it in Inspector no problem:
Question: how to set/modify Font.lineHeight property from a script?
customfontinspector.png
(47.4 kB)
Comment
Your answer
