CobeyH / Leora

2D Moth Puzzle Game written in Unity
4 stars 1 forks source link

Zone Toggle Light Doesn't work #277

Open CobeyH opened 1 year ago

CobeyH commented 1 year ago

Describe the bug The script that is meant to toggle a light when a zone is activated isn't working.

To Reproduce Steps to reproduce the behavior:

  1. Create a scene with a zone and a light
  2. Add the "ZoneToggleLight" script to the light emitter of the light
  3. Subscribe the script to the channel of the zone
  4. Play the scene and trigger the zone
  5. Notice the light doesn't turn on

Expected behaviour The light should be toggled by the zone