Prefabs/Buttons

A Button Prefab is a face which allows the player to interact with it. Buttons can be enabled or disabled and offer an output for scripting events when they are pressed.

By default, a button is disabled after it is pressed the first time. To allow a button to be pressed repeatedly, you must attach a Relay to re-enable the button upon activation.

The level editor contains the following built-in button prefabs:

Outputs

Only one of the available Outputs is used. Outputs are listed from left to right:

Inputs

Only two of the available inputs are used. Inputs are listed from left to right: