How to create Health Bar in Unity

Опубликовано: 29 Июль 2022
на канале: PitiIT
4,696
115

In this unity tutorial we will add a health bar on top of the health system we created in previous video. We'll learn how to use Rect Mask 2d. We'll add the health bar to simple top-down 'rpg like' project but the method and systems will work exactly the same for any 2d or 3d project. I hope you enjoy it!

If you would like to show me some support:
  / pitiit  

If you are looking for a great community:
  / discord  


Masking tutorial I mention in the video:
   • Mask in Unity UI like a PRO! (+soft m...  
Coco Code Channel (really worth checking out!):
   / cococode  

#unity #healthBar #rpg

00:00 What we will build
00:10 Preparing health bar tip
00:30 Setup #1
01:06 Anchor & Pivot Recap
01:35 Setup #2
03:49 Script
05:32 Setup #3


Смотрите видео How to create Health Bar in Unity онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал PitiIT 29 Июль 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 4,696 раз и оно понравилось 115 посетителям.