Mini-Games-Game/Assets/Scripts/Timer.cs
2024-11-24 21:46:27 +00:00

16 lines
278 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class Timer : MonoBehaviour
{
public TMP_Text timer;
// Update is called once per frame
void Update()
{
timer.text = Time.time.ToString("0.00");
}
}