Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2019.4.28f1 | Compatible | Compatible | Compatible |
Easily add Health to any Unit or Object in your game!
There's two ways to use it, use the Component and attach it to a Game Object, or just directly use the C# constructor.
Demo scenes showcase Health System applied to a Character and an Object, and buttons to deal Damage, Heal, and listen to all the events, OnDamaged, OnDead, etc.
Super easy to use, just attach a component and you have Health on anything you want.
Includes Demo scenes, sample Health Bar, Getting Started Tutorial and also a step-by-step video to teach you how the code actually works!
This is a simple system but involves some interesting things like events and an interface, all organized in a nice clean way along with well written, well documented code.
If you're a beginner you might learn quite a bit from the walkthrough video
So if you just want to use it its super simple, and if you want to learn how the code works you can watch that video.
For any questions send me an email or post a comment in the videos.
Thanks and I hope you find this asset useful in your own projects!