TextMesh.text
Declaration
public string text;Описание
Указанный входной текст для отображения.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { // Set the text of the attached Text mesh GetComponent<TextMesh>().text = "Hello World"; } }