| 13 | #define LOCTEXT_NAMESPACE "FMaterialVaultModule" |
| 14 | |
| 15 | void 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 | |
| 34 | void FMaterialVaultModule::ShutdownModule() |
| 35 | { |
nothing calls this directly
no outgoing calls
no test coverage detected