Answers for "unity text mesh set text"

C#
9

textmesh pro text unity

using TMPro;
//Declare variable of type text mesh pro text
TextMeshProUGUI TMPtext;
//Class variables
TMPText.text = "beans";
Posted by: Guest on August-03-2021
8

unity set text value

//Because the Text variable is public, 
//you will have to drag the Text box object onto the script in unity.
//So unity knows what text box to apply the script to.

public Text myText;
myText.text = "Enter the text value here!";

By: Barry Cox
Posted by: Guest on March-18-2020

C# Answers by Framework

Browse Popular Code Answers by Language