- Home /
Unity Preferences' Large Heading Font
I wonder what's the style behind these large headings in the "Edit/Preferences..." window. Might find it useful to recycle it instead of making my own.
See this "External Tools" heading as a reference:
Answer by roojerry · Aug 04, 2016 at 06:00 PM
Check out the PreferencesWindow class. Looks like sectionHeader is just a modified style based off of EditorStyles.largeLabel. Looks like you need to make your own if you want to match that specific style.
I will accept the solution, thank you. Copying the Unity's modifications seems like the best method for now.
It's a pity, the decompiled Unity is stuck at version 5.0, though.
Answer by Landern · Aug 04, 2016 at 01:16 PM
You can apply your own style to it including changing the font size and color.
I'd rather not, since I want to reuse (recycle) the existing one. That would potentially save some memory, as the font atlas won't be generated for the new style.