NG_/Assets/Data Visualization Resources/Scripts/GetTime.cs
2024-12-13 19:40:05 +08:00

21 lines
374 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GetTime : MonoBehaviour
{
public Text text;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
text.text = System.DateTime.Now.ToString();
}
}