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"); } }