TextMesh.text

Switch to Manual
public string text;

Description

The specified input text to display.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { // Set the text of the attached Text mesh GetComponent<TextMesh>().text = "Hello World"; } }

Did you find this page useful? Please give it a rating: