September 2010
Beginner
384 pages
8h 49m
English
Double-click the clockScript. Your empty script, with one lone Update() function, should appear in the code editor. The very first thing we should consider is doing away with our puce background by changing the GUIText color to black instead of white. Let's get at it.
Start function and change the GUIText color:function Start()
{
guiText.material.color = Color.black;
}
function Update() {
}
If you feel comfy, you can change the game background color back to white by clicking on the Main Camera Game Object and finding the color swatch in the Inspector panel. The white whatever GUIText will disappear against the white ...
Read now
Unlock full access