“Valor de texto definido na unidade” Respostas de código

TEXTO DE MUDANÇA DE UNIDADE

// To change text of a text UI element use th combination below
textGameObject.GetComponent<UnityEngine.UI.Text>().text = "text";
SkelliBoi

Valor de texto definido na unidade

//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
Dirty Moose

Respostas semelhantes a “Valor de texto definido na unidade”

Perguntas semelhantes a “Valor de texto definido na unidade”

Mais respostas relacionadas para “Valor de texto definido na unidade” em C#

Procure respostas de código populares por idioma

Procurar outros idiomas de código