GUIText.text

var text : String

Description

The text to display.

JavaScript
    guiText.text = "Hello";

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Example() {
guiText.text = "Hello";
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
guiText.text = 'Hello'