The Object Pickup component is an abstract class that allows the character to pickup objects such as a health pack or item. The Object Pickup object can be created with the Object Manager.

Inspected Fields

Trigger Enable Delay

The amount of time to enable the trigger after the object has been enabled and the rigidbody has stopped moving.

Pickup On Trigger Enter

Should the item be picked up when the character enters the trigger?

Rotation Speed

The amount that the object should rotate while waiting to be picked up.

Pickup Message Text

The text that should be shown by the message monitor when the object is picked up.

Pickup Message Icon

The sprite that should be drawn by the message monitor when the object is picked up.

Pickup Audio Clip Set

A set of AudioClips that can be played when the object is picked up.