The Most Hated Words — Game Over
Game Over Display — With flicker effect
Previously we already created a health display system. We can expand on this to display the most hated words: “Game over”.
If currentHealth is zero
then display game over
Arcade old school Flicker effect
To rub it in, let’s make the text flicker. We start a coroutin in which we can either empty the text or we could disable and enable the game object.