working
This commit is contained in:
parent
4e91f448c9
commit
1b2611e5a9
90 changed files with 7029 additions and 2762 deletions
|
@ -4,7 +4,7 @@ using UnityEngine.SceneManagement;
|
|||
|
||||
public class LoseUI : MonoBehaviour
|
||||
{
|
||||
[SerializeField] GameUI gameUI;
|
||||
[SerializeField] private GameUI gameUI;
|
||||
|
||||
[SerializeField] TextMeshProUGUI time;
|
||||
|
||||
|
@ -14,15 +14,9 @@ public class LoseUI : MonoBehaviour
|
|||
time.text = gameUI.GetComponent<GameUI>().time.ToString();
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Retry()
|
||||
{
|
||||
SceneManager.LoadSceneAsync(SceneManager.GetActiveScene().name);
|
||||
GameManager.Instance.ReloadLevel();
|
||||
}
|
||||
|
||||
public void MainMenu()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue