TextMesh.text Manual     Reference     Scripting  
Scripting > Runtime Classes > TextMesh
TextMesh.text

var text : string

Description

The text that is displayed.

See Also: text mesh component.

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