This Repository is a sample of a Health System in Unity. you can use this repository in your projects!
We have 3 Important Functions:
//Heal!
HealHealth();
//Damage!
HealHealth();
//RegenerationHealth!! || hps: 1 Health Per Second
StartCoroutine(RegenerationHealth(1f));