Start of WiN/LOSE UI

finishing later today
This commit is contained in:
Kirabsol 2025-01-28 13:20:29 +01:00
parent e51417a4e5
commit 33d88bdfa7
8 changed files with 221 additions and 111 deletions

21
Assets/Scripts/LoseUI.cs Normal file
View file

@ -0,0 +1,21 @@
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()
{
}
}