Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UEditorLevelLibrary
Deprecated * The Editor Scripting Utilities Plugin is deprecated - Use the function in Level Editor Subsystem
References
| Module | EditorScriptingUtilities |
| Header | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorLevelLibrary.h |
| Include | #include "EditorLevelLibrary.h" |
| Source | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorLevelLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Editor Scripting &124; Level Utility",
Meta&61;&40;DeprecatedFunction, DeprecationMessage&61;"The Editor Scripting Utilities Plugin is deprecated &45; Use the function in Level Editor Subsystem"&41;&41;
static bool LoadLevel
&40;
const FString & AssetPath
&41;
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 |