private IEnumerator PassiveResourceRegen() { while (resourceRegenSwitch) { yield return(null); ParentAlive.RestoreResource(Time.deltaTime * resourceRegen); } }
private IEnumerator PassiveHpRegen() { while (hpRegenSwitch) { yield return(null); ParentAlive.Heal(Time.deltaTime * hpRegen); } }