Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UEditorLevelLibrary
Description
Close the current Persistent Level (without saving it). Create a new blank Level and save it. Load the new created level.
| Name | NewLevel |
| Type | function |
| Header File | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorLevelLibrary.h |
| Include Path | #include "EditorLevelLibrary.h" |
| Source | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorLevelLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Level Utility",
Meta=(DeprecatedFunction, DeprecationMessage="The Editor Scripting Utilities Plugin is deprecated - Use the function in Level Editor Subsystem"))
static bool NewLevel
(
const FString & AssetPath
)
True if the operation succeeds.
Parameters
| Name | Remarks |
|---|---|
| AssetPath | Asset Path of where the level will be saved. ie. /Game/MyFolder/MyAsset |