using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class button1 : MonoBehaviour { public Text t1; // Start is called before the first frame update void Start() { } // Update is called once per frame 1/60 sec void Update() { } public void show1() { t1.text = "新年快樂"; } }