The Health Pickup object inherits the Object Pickup component and will replenish the character’s health if it is low. The shield is replenished first and then any remaining health amount will be used for the standard health. If the character’s health is not low then the health pickup will only disappear if Always Pickup is enabled.

Setup

An explosion can be setup by performing the following:

  1. Open the Object Manager and create a new object of type Health Pickup.
  2. Specify the amount of health that should be replenished when the object is picked up.
  3. Place the prefab in your scene.

Inspected Fields

Health Amount

The amount of health to replenish.

Always Pickup

Should the object be picked up even if the object has full health?