Start of WiN/LOSE UI
finishing later today
This commit is contained in:
parent
e51417a4e5
commit
33d88bdfa7
8 changed files with 221 additions and 111 deletions
21
Assets/Scripts/LoseUI.cs
Normal file
21
Assets/Scripts/LoseUI.cs
Normal 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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue