how can i change my 3D text’s text with a java script?
private var textMesh : TextMesh;
function Awake ()
{
textMesh = GetComponent(TextMesh);
}
function Update ()
{
textMesh.text = yourText;
}
how can i change my 3D text’s text with a java script?
private var textMesh : TextMesh;
function Awake ()
{
textMesh = GetComponent(TextMesh);
}
function Update ()
{
textMesh.text = yourText;
}