How to Create a Health Bar (Unity Tutorial | 2D Top Down Shooter)

Опубликовано: 12 Октябрь 2024
на канале: Ketra Games
6,937
148

In this Unity tutorial we're going to look at to how to add a health bar to the UI, so that we can see how much damage we’ve taken.

This is the eleventh video in our series showing how to make a full top down 2D shooter game in Unity.

The playlist for this series can be found here
►    • Unity 2D Top Down Shooter for Beginners  

The project files are available to our patrons here:
►   / 82842905  

Want to follow along? This project is a good starting point
►   / 82152626  

The final script can be found here
► https://dotnetfiddle.net/XOa90a

Help support our work:
► Patreon:   / ketragames  

Follow us:
► Ketra Games: http://www.ketra-games.com
► Patreon:   / ketragames  
► Twitter:   / ketragames  
► Facebook:   / ketragames  

Introduction - 0:00
Adding the Health Bar to the Canvas - 0:37
Creating a Script to Synchronise the Health to the UI - 3:37
Summary - 7:02

#KetraGames #LearnUnity #UnityTutorials #UnityTips