Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UEditorLevelLibrary
Description
Set the current level used by the world editor. If more than one level shares the same name, the first one encounter of that level name will be used.
| Name | SetCurrentLevelByName |
| 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 SetCurrentLevelByName
(
FName LevelName
)
True if the operation succeeds.
Parameters
| Name | Remarks |
|---|---|
| LevelName | The name of the Level the actor belongs to (same name as in the ContentBrowser). |