- Home /
Light Question
Hi.
I just wanted a definition of what light.enable = !light.enable; actually meant
hope you guys can help :)
Comment
Answer by Zaeran · Sep 19, 2020 at 02:31 AM
Basically you're just toggling the light on/off.
The code just says 'set the value of light.enabled to the opposite of the current value of light.enabled'
Your answer
Follow this Question
Related Questions
Baking lights increases scene brightness. 1 Answer
2021 URP Lighting Artifacts 1 Answer
Why am I getting GI Banding? 0 Answers
Shader? Light magnifying wall?? 1 Answer
Non-visible light 0 Answers