Navigation
API > API/Editor > API/Editor/LevelEditor > API/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 NewLevelFromTemplate
&40;
const FString & AssetPath,
const FString & TemplateAssetPath
&41;
Remarks
Close the current Persistent Level (without saving it). Create a new Level base on another level and save it. Load the new created level. True if the operation succeeds.
Parameters
| Name | Description |
|---|---|
| AssetPath | Asset Path of where the level will be saved. ie. /Game/MyFolder/MyAsset |
| TemplateAssetPath | Level to be used as Template. ie. /Game/MyFolder/MyAsset |