Default GUISTyle, only change font and color

Hello All!

I want to use the normal Unity Style (the grey transparent boxes) but I need ONLY to change the font, size, and color.

I don’t have a problem changing out the font, the size or the color but once I create a new GUIStyle, it loses the old grey transparent boxes. How can I reassign the GUIStyle to be like the old format?

Thanks!

Use GUI.skin.font to change the font. The only way I can find to get a font reference is to expose a Font variable in your script and then drag one over in the inspector. You can set the size right on that font object. And then in the script, you can probably set font.material.color to change the color.