- What is
ActorRef
and why ever you cast it toAActor
? NameActorRef
suggest that this is already instance of Actor class. - Why did you name the array designed to hold the components
RadarActors
? - Unreal C++ is little different than vanilla C++, but if you don’t know how to use simple function like
AActor::GetComponents
, then go back to vanilla C++ tutorials/books to learn language basics.