What the title above says :P. I’m using this for a username so when you type in the name the players name is updated.
#pragma strict
var tm : TextMesh = gameObject.GetComponent(TextMesh);
var username : String;
function Start () {
tm.text = username;
}