Light Switch

The light switch package ties the Wall Switch entity to an array of lights, letting you turn them on/off by interacting with the switch.


Install the Light Switch package


Drag the Light Switch template on to a wall somewhere. In the properties of the lightSwitchScript, assign the lights you would like this light switch to control in the lights property.

Set the on property to determine whether the light should be on or off by default.