So, I have a Generator CPP Script. After I push button, it must set the Visibility
of every APointLight
object on level. It, actually does, but there’s still pre-built light on walls next to every APointLight
object. Here’s how it looks like:
(Visible “Lamp”)
(Invisible “Lamp”. but still some light)
So my question is how to hide and show it again from the code, if I have pointer to every “Lamp”?
Any ideas?