Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
Include |
#include "Engine/Engine.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
void GetAllLocalPlayerControllers
(
TArray< APlayerController * > & PlayerList
)
Gets all local players associated with the engine. This function should only be used in rare cases where no UWorld* is available to get a player list associated with the world. E.g, - use GetFirstLocalPlayerController(UWorld *InWorld) when possible!