TextMesh.font

var font : Font

Description

The Font used.

See Also: text mesh component.

JavaScript
    // Set the text of the attached Text mesh
var newFont : Font;
GetComponent(TextMesh).font = newFont;