im trying to adjust the text size on my unity ui with UI toolkit but can't seem to figure out what this 'initial' mean. I also failed to find any documentation about this. Could anyone enlighten me? Unity UI toolkit screenshot
CodePudding user response:
"Initial" is a parameter that also appears in CSS and other styling languages for font sizes and scaling. It means that the font size will be equal to the standard font size (usually defined in the font asset itself). The value itself will be the variation from this starting value.
You're right though, this feature is not documented at all. The % font size attribute is also poorly documented and supported, and all of the examples only use pixels for sizing.