Answers for "how to make text show a variable in unity"

C#
0

how to make text show a variable in unity

using UnityEngine.UI;  //its a must to access new UI in script
 public class YourClass : MonoBehaviour
 {
     public Text Score_UIText; // assign it from inspector
 void Start()
 {
    Score_UIText.text = yourscore_variable;
 }
Posted by: Guest on February-04-2020

Code answers related to "how to make text show a variable in unity"

C# Answers by Framework

Browse Popular Code Answers by Language