Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
Include |
#include "Engine/Engine.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
APlayerController * GetFirstLocalPlayerController
(
const UWorld * InWorld
)
Find a Local Player Controller, which may not exist at all if this is a server.
first found LocalPlayerController. Fine for single player, in split screen, one will be picked.