Health Manager
Last updated
Last updated
The health manager controls how the health will be displayed, how fast health will fall and the parameters surrounding player death. All can be controlled with these variables and the simple event for death.
Current Health
The current health you will have at the start of the game
Max Health
The maximum health you can have at any point as health will regenerate
Health Fall
The speed at which the health will fall when inside the gas
Current Health Timer
Not applicable
Max Health Timer
The time you must wait before the health will regenerate
OnDeath()
The event which will trigger when the player dies, so you can add a script or gameobject here with some logic to kill the player, respawn or something similar.