4 #include "PropertyEditorModule.h" 10 #include "ModuleManager.h" 11 #include "LevelEditor.h" 13 class FToolBarBuilder;
16 #define LOCTEXT_NAMESPACE "FRuntimeMeshComponentEditorModule" 49 FPropertyEditorModule& PropertyModule = FModuleManager::LoadModuleChecked<FPropertyEditorModule>(
"PropertyEditor");
56 FRuntimeMeshComponentEditorCommands::Register();
85 FLevelEditorModule& LevelEditorModule = FModuleManager::LoadModuleChecked<FLevelEditorModule>(
"LevelEditor");
88 TSharedPtr<FExtender> MenuExtender = MakeShareable(
new FExtender());
90 LevelEditorModule.GetMenuExtensibilityManager()->AddExtender(MenuExtender);
98 FRuntimeMeshComponentEditorCommands::Unregister();
103 FPlatformProcess::LaunchURL(TEXT(
"https://github.com/Koderz/RuntimeMeshComponent/wiki/Support-the-development!"),
NULL,
NULL);
109 FPlatformProcess::LaunchURL(TEXT(
"https://github.com/Koderz/UE4RuntimeMeshComponent/wiki"),
NULL,
NULL);
114 FPlatformProcess::LaunchURL(TEXT(
"https://github.com/Koderz/UE4RuntimeMeshComponent/wiki"),
NULL,
NULL);
120 FPlatformProcess::LaunchURL(TEXT(
"https://github.com/Koderz/UE4RuntimeMeshComponent/issues"),
NULL,
NULL);
127 FPlatformProcess::LaunchURL(TEXT(
"https://discord.gg/KGvBBTv"),
NULL,
NULL);
132 FPlatformProcess::LaunchURL(TEXT(
"https://unrealengine.com/Marketplace/RuntimeMeshComponent"),
NULL,
NULL);
138 Builder.AddPullDownMenu(
139 LOCTEXT(
"RuntimeMeshComponentMenu",
"Runtime Mesh Component"),
140 LOCTEXT(
"RuntimeMeshComponentMenu_ToolTip",
"Open Runtime Mesh Component Help and Documentation"),
142 "Runtime Mesh Component");
147 Builder.BeginSection(
"Help", LOCTEXT(
"RuntimeMeshComponentMenu_Help",
"Help"));
153 Builder.EndSection();
155 Builder.BeginSection(
"Support", LOCTEXT(
"RuntimeMeshComponentMenu_Support",
"Support"));
157 Builder.EndSection();
161 #undef LOCTEXT_NAMESPACE static TSharedRef< IDetailCustomization > MakeInstance()
void AddMenuBarExtension(FMenuBarBuilder &Builder)
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
void DonateActionClicked()
TSharedPtr< class FUICommandList > PluginCommands
void MarketplaceActionClicked()
virtual void ShutdownModule() override
UTexture2D * Get(TUniquePtr< T > &Dtex)
static void ReloadTextures()
virtual void StartupModule() override
void DiscordActionClicked()
void AddMenuExtension(FMenuBuilder &Builder)
void IssuesActionClicked()
void ForumsActionClicked()