Hey, everyone! How can I access the lights attached to my actor in an array?
I have a lot of these actors scattered in my project and I want to be able to access the lights. Here’s what I did, I added GetAllActorsOfClass and then stored it in an Array, I’m currently stuck here and I’m unable to access the RectLight that I attached to the actor.
How can I access the rectlight for each actor and then adjust the intensity of it? Thank you in advance for any help.