Countdown timer Text?

How do I change the Text in C# code?
I tried
guiText.text = “Hello”;
from: http://docs.unity3d.com/ScriptReference/GUIText-text.html

public Text text; //drag the text from Hierarchy into script in Inspector
text.text = “Hello”;

Maybe I’m Missing something because I don’t have a Variable Text
is there a library I should be using?

got it
it Needed:
using UnityEngine.UI;

Is there a cheat sheet that has all the Variables in the inspector window and what library they are in?
It would be nice if you could just right click on a name and find that out.

There is a reference somewhere, no idea where though.
for all new UI stuff you need “using UnityEngine.UI;”
for Lists and dictionnaries you need "using System.Collections.Generic;)
for saving with Serialize you need “using System;” , “using System.Runtime.Serialization.Formatters.Binary;” and “using System.IO;”
That’s all I know :slight_smile:

You will also need UnityEngine.EventSystems and/or UnityEngine.Events for more advanced event stuff.
MonoDevelop shows completions for all the things you can use if you start typing “using U”.