Make A 3D Text Dynamic

Hello I have a 3D text object as a child.

The parent has a script attached to it. How would I be able to change the 3D text via the script on the parent?

The parent script has a String variable that I would like to link to the 3D text.

Thanks

See GetComponentInChildren documentation

Never mind, I found out how:

var timer : String = "4";


function Update(){
   GetComponentInChildren(TextMesh).text = ""+timer;
}