Table of Contents

Class HealthBehaviour

Namespace
GrindFest
Assembly
GrindFest.dll
[DisallowMultipleComponent]
public class HealthBehaviour : MonoBehaviour, ICharacterResource
Inheritance
object
HealthBehaviour
Implements
Derived

Fields

BaseHealth
Character
CurrentHealth
DamageSound
DeathSound
Died
HealthBonus

The amount of health bonus this monster has. This is a percentage value, so 0.5f means 50% more health.

IsDead
IsInvulnerable
OverheadPosition
Resurrected

Properties

MaxHealth

Methods

Damage(GetHitEvent)
Die()
Heal(HealEvent)
OnEnable()
OnValidate()
Restore(GameObject, int)
Resurrect()
Start()

Events

Damaged