Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UGameInstance
Description
Returns the player controller assigned to the first local player. If World is specified it will search within that specific world
| Name | GetFirstLocalPlayerController |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/GameInstance.h |
| Include Path | #include "Engine/GameInstance.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameInstance.cpp |
APlayerController * GetFirstLocalPlayerController
(
const UWorld * World
) const