UIDataTest.cs 363 B

123456789101112131415161718192021
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class UIDataTest : MonoBehaviour
  5. {
  6. [SerializeField]
  7. private TextMesh Text;
  8. void Start()
  9. {
  10. }
  11. // Update is called once per frame
  12. void Update()
  13. {
  14. Text.text = UIDataManager.Instance.GetDataStr();
  15. }
  16. }