PLAYER HEALTH SYSTEM IN UNITY 🎮 | Health System Unity Tutorial | Learn Unity For Free
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