Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FStreamLevelAction
Description
Given a level name, returns level name that will work with Play on Editor or Play on Console
Given a level name, returns a level name that will work with Play on Editor or Play on Console
| Name | MakeSafeLevelName |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/LevelStreaming.h |
| Include Path | #include "Engine/LevelStreaming.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LevelStreaming.cpp |
static FString MakeSafeLevelName
(
const FName & InLevelName,
UWorld * InWorld
)
Parameters
| Name | Remarks |
|---|---|
| InLevelName | Raw level name (no UEDPIE or UED |
| InLevelName | Raw level name (no UEDPIE or UED |
| InWorld | World in which to check for other instances of the name |