Navigation
Unreal Engine C++ API Reference > Editor > LevelEditor > ULevelEditorSubsystem
References
Module | LevelEditor |
Header | /Engine/Source/Editor/LevelEditor/Public/LevelEditorSubsystem.h |
Include | #include "LevelEditorSubsystem.h" |
Source | /Engine/Source/Editor/LevelEditor/Private/LevelEditorSubsystem.cpp |
bool LoadLevel ( const [FString](API\Runtime\Core\Containers\FString) & AssetPath )
Remarks
Close the current Persistent Level (without saving it). Loads the specified level. True if the operation succeeds.
Parameters
Name | Description |
---|---|
AssetPath | Asset Path of the level to be loaded. ie. /Game/MyFolder/MyAsset |