GUI colors

I have a GUI minigame with several Boxes, Labels, and Buttons. By default, the GUI Control colors are a dark gray. Is there a way to change this color through scripting???

i think this is how.

file:///Applications/Unity/Unity.app/Contents/Documentation/Documentation/Components/gui-Customization.html

create new GUI skin.
add these lines to your GUI script.
than assign your GUI skin to the variable.

var mySkin : GUISkin;


function OnGUI () {
	GUI.skin = mySkin;
}

-C

Local filesystem links won’t work, Cherub :slight_smile:

Here is the correct link: Unity - Manual: Customization

The advice of the previous post is correct, though. Although you can colorize GUI elements to some extent, you really can’t do much with semi-transparent grey.

The best thing to do is create (or download) another skin that looks the way to want it to.

.