This symbol I have highlighted wasn’t explained and I’m confused about this type of for loop this is the first time I’ve seen : separating two things in this course.
That is introduced in the previous section in the lecture titled “Range-based For Loops”.
for (AActor* Actor: OverlappingActors)
This reads "for every actor in OverlappingActors
" where Actor
is the current iterated element.
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.