MCPcopy Create free account
hub / github.com/ScottRaffertyCG/MaterialVault / StartupModule

Method StartupModule

Source/MaterialVault/Private/MaterialVault.cpp:15–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#define LOCTEXT_NAMESPACE "FMaterialVaultModule"
14
15void FMaterialVaultModule::StartupModule()
16{
17 // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
18
19 FMaterialVaultStyle::Initialize();
20 FMaterialVaultStyle::ReloadTextures();
21
22 FMaterialVaultCommands::Register();
23
24 PluginCommands = MakeShareable(new FUICommandList);
25
26 PluginCommands->MapAction(
27 FMaterialVaultCommands::Get().PluginAction,
28 FExecuteAction::CreateRaw(this, &FMaterialVaultModule::PluginButtonClicked),
29 FCanExecuteAction());
30
31 UToolMenus::RegisterStartupCallback(FSimpleMulticastDelegate::FDelegate::CreateRaw(this, &FMaterialVaultModule::RegisterMenus));
32}
33
34void FMaterialVaultModule::ShutdownModule()
35{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected