- Home /
Remove GUI Box Drawing?
Is there a way to remove the Box that is created when creating a button, because I have buttons that use transparent to fit onto the background nicely, and it's filled with a giant greyish-black bubble-button. D:
I'm using textures aswell, by the way.
Comment
Answer by asafsitner · Jan 14, 2013 at 08:41 AM
You can explicitly specify the GUIStyle of each GUI element to override the default. In your GUI.Button call supply as the last parameter either a GUIStyle you created yourself (`new GUIStyle()` or a class field/property), a string literal with the name of the style you want (e.g. "label"
) or a reference to the skin and style (`Skin.label`).