// Copyright Epic Games, Inc. All Rights Reserved. #include "ULevelAssetEditor.h" #include "LevelAssetEditorToolkit.h" #include "Engine/Level.h" #include "InteractiveToolsContext.h" void ULevelAssetEditor::GetObjectsToEdit(TArray& InObjectsToEdit) { InObjectsToEdit.Add(NewObject(this, NAME_None, RF_Transient)); } TSharedPtr ULevelAssetEditor::CreateToolkit() { if (!InteractiveToolsContext) { InteractiveToolsContext = NewObject(this); } return MakeShared(this, InteractiveToolsContext); }