Unreal Engine

[For loof] Find All PlayerControllers

전유댕 2024. 4. 21. 17:59
for (FConstPlayerControllerIterator Iterator = GetWorld()->GetPlayerControllerIterator(); Iterator; ++Iterator)

for (APlayerController* PlayerController : TActorRange<APlayerController>(GetWorld()))