I have some GUI text, how can I change its colour using scripting?
If you’re using the scripted GUI system(?), you can just set GUI.color to a value. E.g.:
function OnGUI () {
GUI.color = Color.red;
GUI.Label (Rect (10,10,100,20), "I'm RED");
GUI.color = Color.red;
}
Im not using scriting, I just have some GUI text added from untiy… how can I make it red?