You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
33 lines
765 B
C
33 lines
765 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "CoreMinimal.h"
|
||
|
|
#include "Framework/Commands/Commands.h"
|
||
|
|
#include "EditorStyleSet.h"
|
||
|
|
|
||
|
|
class FLevelInstanceEditorModeCommands : public TCommands<FLevelInstanceEditorModeCommands>
|
||
|
|
{
|
||
|
|
|
||
|
|
public:
|
||
|
|
FLevelInstanceEditorModeCommands() : TCommands<FLevelInstanceEditorModeCommands>
|
||
|
|
(
|
||
|
|
"LevelInstanceEditorMode",
|
||
|
|
NSLOCTEXT("Contexts", "LevelInstanceEditor", "Level Instance Editor"),
|
||
|
|
NAME_None,
|
||
|
|
FEditorStyle::GetStyleSetName() // Icon Style Set
|
||
|
|
)
|
||
|
|
{}
|
||
|
|
|
||
|
|
|
||
|
|
/** Exit Editor Mode */
|
||
|
|
TSharedPtr<FUICommandInfo> ExitMode;
|
||
|
|
|
||
|
|
/** Toggle Restrict Selection */
|
||
|
|
TSharedPtr<FUICommandInfo> ToggleContextRestriction;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Initialize commands
|
||
|
|
*/
|
||
|
|
virtual void RegisterCommands() override;
|
||
|
|
};
|