Dashing and grenade throwing are abilities that require a cooldown. To show the player the cooldown, we’ll use a circular progress bar. To update the progress bar, we’ll need to create custom logic.
Keep in mind that what we’re doing here is just an example. You have many other possibilities with the decorator system to create this feedback. You can use various types of decorators (flipbook or widget), dynamic materials, and so on.
