This repository has been archived on 2026-01-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
AW_2025/Assets/Scripts/SJM/TimeManager.cs
2025-02-24 15:18:12 +09:00

15 lines
276 B
C#

using UnityEngine;
using UnityEngine.UI;
public class TimeManager : MonoBehaviour
{
public string currentTime;
public Text time;
void Update()
{
currentTime = System.DateTime.Now.ToString("HH:mm");
time.text = currentTime.ToString();
}
}