Files
UnrealEngine/Engine/Source/Editor/LevelEditor/Private/LevelEditorMenu.h
2025-05-18 13:04:45 +08:00

31 lines
574 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/SWidget.h"
#include "SLevelEditor.h"
/**
* Level editor menu
*/
class FLevelEditorMenu
{
public:
static void RegisterLevelEditorMenus();
/**
* Static: Creates a widget for the level editor's menu
*
* @return New widget
*/
static TSharedRef< SWidget > MakeLevelEditorMenu( const TSharedPtr<FUICommandList>& CommandList, TSharedPtr<class SLevelEditor> LevelEditor );
private:
static void RegisterBuildMenu();
static void RegisterSelectMenu();
};