Different "For Loop"?

So i was very confused when Michael used “AActor* Actor : OverlappingActors” inside the “for loop”.
image
Since I don’t understand it, I was wondering if I missed some lecture or if that was new.

My take on this function looks like this:

Is there any real benefit to using any of those version of loop?

The one made by Michael looks like a “For Range” loop. They were covered in the BullCowGame near the end of the course in lesson 75. They tend to look a bit cleaner for some types of loops but both accomplish the same effect.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms