This is what I have sofar
private var text : String = String.Empty;
function Narrative()
{
text = "Private what are you doing? ... (cut out)";
yield WaitForSeconds(2.5f);
text = String.Empty;
yield WaitForSeconds(0.5f);
text = "Private, you're on your own ... (cut out)";
yield WaitForSeconds(3.5f);
text = String.Empty;
yield WaitForSeconds(0.5f);
}
function OnGUI()
{
if (GUILayout.Button("Start Narrative"))
{
StartCoroutine("Narrative");
}
GUILayout.Label(text);
}
Now how do I actually put it onto the screen?