PLAYER HEALTH SYSTEM IN UNITY 🎮 | Health System Unity Tutorial | Learn Unity For Free

Channel:
Subscribers:
497,000
Published on ● Video Link: https://www.youtube.com/watch?v=9i0UGVUKiaE



Duration: 23:37
23,100 views
0


Creating a health system in Unity is a must for most games that involves players and enemies. In this tutorial you will learn how to create a easy player health system that anyone can follow! 🙂 This system will be re-usable, meaning you can use it to add health to ANY unit inside your game, including enemies, buildings, etc...

I hope you find this tutorial useful! In the next video I will show how to create a healthbar, which shows the amount of health our player has, based on the health system we made in this video! 😉

➤ TIMESTAMPS

00:00:00 - Introduction.
00:00:25 - Creating a health bar
00:00:55 - What I have so far...
00:01:34 - My PlayerController script
00:02:02 - Creating our UnitHealth script
00:11:12 - Creating our GameManager
00:15:35 - Creating our Player Health
00:20:39 - Testing our health system!

➤ GET ACCESS TO MY LESSON MATERIAL HERE!

First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon and YouTube Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

Memberships: https://www.youtube.com/channel/UCzyuZJ8zZ-Lhfnz41DG5qLw/join
Patreon: https://www.patreon.com/mmtuts




Other Videos By Dani Krossing


2022-09-19HOW TO DO POST PROCESSING IN UNITY 🎮 | URP Unity Post Effects Tutorial | Learn Unity
2022-09-13HOW TO SET UP 2D LIGHT IN UNITY 🎮 | Unity URP 2D Lighting Tutorial | Learn Unity For Free
2022-09-07DRAWING MY FIRST PIXEL TREE! 😅 | Trying Out Aseprite For The First Time Aseprite First Look
2022-08-24EASIER ANIMATION USING CODE IN UNITY 🎮 | Unity Animation For Beginners | Learn Unity For Free
2022-08-15COMPLETE PIXEL ART GUIDE 🎮 | Pixel Art & Animation Tutorial For Beginners | Learn Unity For Free
2022-08-13REGENERATING ENERGY BAR IN UNITY 🎮 | Energy System Unity Tutorial | Learn Unity For Free
2022-07-06#17 | CREATING YOUR SECOND GAME IN UNITY 🎮 | Unity For Beginners | Unity Tutorial
2022-06-09CHANNEL UPDATE! | I Have A Second Gaming Channel
2022-06-04MAKE UI FOLLOW PLAYER IN UNITY 🎮 | How to Make UI Face Player | Learn Unity For Free
2022-05-31HOW TO MAKE A HEALTH BAR IN UNITY 🎮 | How to Make a Health Bar for Beginners | Learn Unity For Free
2022-05-28PLAYER HEALTH SYSTEM IN UNITY 🎮 | Health System Unity Tutorial | Learn Unity For Free
2022-05-24WHICH WAS YOUR FAVORITE? UNITY OR UNREAL? | 5 RANDOM INDIE GAMES | Indie Game Feedback
2022-05-23#16 | ARRAYS & LISTS IN UNITY 🎮 | Unity For Beginners | Unity Tutorial
2022-05-03#15 | IENUMERATOR & COROUTINE IN UNITY 🎮 | Unity For Beginners | Unity Tutorial
2022-04-16#14 | COLLISIONS AND TRIGGERS IN UNITY 🎮 | Unity For Beginners | Unity Tutorial
2022-04-15#13 | RIGIDBODY VS. TRANSFORM AND UPDATE VS. FIXEDUPDATE 🎮 | Unity For Beginners | Unity Tutorial
2022-04-10#12 | TRANSLATE, ROTATE & LOOKAT IN UNITY 🎮 | Unity For Beginners | Unity Tutorial
2022-04-09#11 | TIME.DELTATIME EXPLAINED 🎮 | Unity For Beginners | Unity Tutorial
2022-04-08#10 | ENABLE/DISABLE COMPONENTS & GAMEOBJECTS 🎮 | Unity For Beginners | Unity Tutorial
2022-03-30#9 | VECTOR MAGNITUDE & SQRMAGNITUDE 🎮 | Unity For Beginners | Unity Tutorial
2022-03-22THE STORE PAGE GAVE ME A "VIBE" 🤔 | A DARK NIGHTMARE | Indie Game Feedback | Dani Krossing



Tags:
unity player health system
player health system in unity
unit health system in unity
health system in unity
unity tutorial 2022
how to create health in unity
how to make player health in unity
unity player health tutorial
free life bar in unity
how to create a health bar in unity
how to make a health bar for my game
health system unity 2d
free health system in unity
player health unity
health system unity tutorial
learn unity for free
unity health system