Make an easy Health Bar in Unity

Опубликовано: 19 Май 2026
на канале: Real 2D Unity Basics
189
like

In this video i show how to make a health bar using Sprites and a quick overview of a health bar using UI sliders. Maybe someone will disagree with my methods but what matter most is that they work. The soldiers Health Bars in this video were easy to make because they occupy exactly one Unity unit, if they where larger we should do it like:
float hpBarWidth;
hpBarTransform.localPosition = new Vector2(-(hpPercent * hpBarWidth/100), 0);

Check our Sites:
Facebook:   / moneydashoficialpage  
Website: https://realmoney2d.wixsite.com/realm...
Money Dash Game: https://play.google.com/store/apps/de...

Real 2D.
#real2d #realmoney2d #unity #unitytutorialforbeginners #unitytutorial #c# #howtomakegame #howtomakegameinscratch #howtomakegameappfor #unityステーション #unity2d #unity3d #learncoding