Component.guiText

var guiText : GUIText

Description

The GUIText attached to this GameObject (null if there is none attached).

JavaScript
    guiText.text = "Hello World";