Class EntityPassiveHpRegeneration
- Namespace
- ElectricDrill.AstraHealth.Core
- Assembly
- com.electricdrill.astra-health.Runtime.dll
Adds passive health regeneration to an entity over time. Attach this component to any entity that should automatically regenerate health. The regeneration amount per tick is driven by the PassiveHealthRegenerationStat and the tick interval by PassiveHealthRegenerationInterval. Entities that do not require passive regeneration should not carry this component.
[RequireComponent(typeof(EntityHealth))]
public class EntityPassiveHpRegeneration : MonoBehaviour
- Inheritance
-
objectEntityPassiveHpRegeneration