Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
Include |
#include "Engine/Engine.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
ULocalPlayer * GetFirstGamePlayer
(
const UGameViewportClient * InViewport
)
Return the first ULocalPlayer in the GamePlayers array.
first ULocalPlayer or nullptr if the array is empty