21 lines
429 B
C#
21 lines
429 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
|
|
public class LoseUI : MonoBehaviour
|
|
{
|
|
[SerializeField] GameUI gameUI;
|
|
|
|
[SerializeField] TextMeshProUGUI time;
|
|
|
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
|
void Start()
|
|
{
|
|
time.text = gameUI.GetComponent<GameUI>().time.ToString();
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|