How to Create a Wave System in Unity (Part 2 — Wave UI Text)

Showing the current wave at the start of each round

Rusben Guzman
2 min readAug 1, 2021

Objective: create a UI Text element to show the current wave

First I create a UI text element in the scene and change the position, size and font color to fit with the general UI of the game.

Then we have to select the element and create an animation to flicker the text. This is with aesthetic purpose.

In the UI Manager I declared a Text variable to get the reference to the wave text.

Next in the UI manager I create a coroutine to enable the wave text for 4 seconds and another public function to start the coroutine.

And in the Spawn Manager Script we call the function to show the text each time we start spawning.

That’s it!!! We can show the current wave through the UI.

--

--

Rusben Guzman
Rusben Guzman

Written by Rusben Guzman

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

No responses yet