Hey guys - I’m sure this should be dirt simple - but how do I change the color of a newplaced guitext item from its default WHITE? Thanks
Actually it’s a bit harder that it should be.
One way is set the color from script like:
guiText.material.color = Color.red;
The other way would be importing Standard Assets that contain font material and font texture (or just using your own .ttf file - the material&texture are generated automatically) and change the color in the material.
Fantastic code thz Aras.
a simple script for GUIText change color.
//fileName: GuiTextColor.js
public var color : Color = Color.black;
function Start(){
guiText.material.color = color;
}