Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UEngine
Description
Returns the first ULocalPlayer that should be used for debug purposes. This should only be used in very special cases where no UWorld* is available! Anything using this will not function properly under multiple worlds. Always prefer to use GetFirstGamePlayer() or even better - FLocalPlayerIterator
| Name | GetDebugLocalPlayer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
| Include Path | #include "Engine/Engine.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
ULocalPlayer * GetDebugLocalPlayer()
the first ULocalPlayer