Add on-screen score, health hearts, and a timer to make your game feel complete!
using TMPro; at the top — this is required!using TMPro; is at the very top of your script. Use TextMeshProUGUI not Text.
lives--, add: uiManager.UpdateLives(lives);hearts[i].SetActive(false);public TextMeshProUGUI timerText;transform.DOShakePosition(0.3f, 5f) or manually offset it in a coroutine.
PlayerPrefs.SetInt("HighScore", score) to save the high score between game sessions. Display it on screen. This persists even after closing Unity!