// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Framework/Commands/Commands.h" #include "EditorStyleSet.h" class FLevelInstanceEditorModeCommands : public TCommands { public: FLevelInstanceEditorModeCommands() : TCommands ( "LevelInstanceEditorMode", NSLOCTEXT("Contexts", "LevelInstanceEditor", "Level Instance Editor"), NAME_None, FEditorStyle::GetStyleSetName() // Icon Style Set ) {} /** Exit Editor Mode */ TSharedPtr ExitMode; /** Toggle Restrict Selection */ TSharedPtr ToggleContextRestriction; /** * Initialize commands */ virtual void RegisterCommands() override; };