Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UGameplayStatics
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h |
Include | #include "Kismet/GameplayStatics.h" |
Source | /Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp |
static FString GetCurrentLevelName
&40;
const UObject &42; WorldContextObject,
bool bRemovePrefixString
&41;
Remarks
Get the name of the currently-open level.
Parameters
Name | Description |
---|---|
bRemovePrefixString | remove any streaming- or editor- added prefixes from the level name. |