TextMesh.text

var text : String

Description

The text that is displayed.

See Also: text mesh component.

JavaScript
// Set the text of the attached Text mesh
GetComponent(TextMesh).text = "Hello World";