Hi,
You have bluelight.SetActive(true) in both whatever the value of boolean is, it doesnot matter. Your blue light will stay active. And the bool never get true because you are not making it true at any point. Its value is false only.
↧