Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
Include |
#include "Engine/Engine.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
ULocalPlayer * GetDebugLocalPlayer()
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
the first ULocalPlayer