Hey all,
I’m trying to iterate through my world and gather information on all the UDestructibleComponents I have so I can interact with them.
I can get the DestructibleActors and push them into an array using:
TActorIterator<ADestructibleActor> Itr = TActorIterator<ADestructibleActor>(GetWorld());
Is there a specific type of Iterator, or a different way to gather an array of UDestructibleComponents from the World?
Thanks in advance.