16 lines
278 B
C#
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");
|
||
|
}
|
||
|
}
|