Skip to content

SwitchMode

namespace Griff.Scenes;
public enum SwitchMode

How a Switch is worked.

  • Lever = 0: Interact (E, Enter, the gamepad’s Y) while touching it flips it on, and again off: a lever.
  • Plate = 1: On while something stands on it (or touches it), off again when it steps off: a pressure plate.
  • Button = 2: Touching it turns it on for good (or for OnTime): a button, a target to shoot.