CMCharacter Modules 0.1.0

Gym Pickup

Kind: Gym · Add Component: Character Modules > Gym > Gym Pickup

The goal at the end of a gym. Taking it ends the run.

The goal at the end of a gym: walk into it to take it.

Inspector
▼Gym Pickup⋮
ItemNone
Spin45
Taken(no listeners)
The Gym Pickup component in the Inspector, with its defaults.
Origin. A testing tool of this package.

How it works

Something to pick up, such as a gym's goal: a character touching the trigger takes it, the item disappears and Taken fires. It turns slowly while it waits, so it reads as a thing to get rather than scenery.

Properties

PropertyDescriptionRangeDefault
ItemThe item drawn; hidden once taken.None
SpinHow fast the item turns while it waits, degrees a second.45
TakenCalled when a character takes the item.(no listeners)

Additional resources