March 2019
Intermediate to advanced
708 pages
17h 9m
English
void AddMenuExtension(FMenuBuilder &builder)
{
FSlateIcon IconBrush = FSlateIcon(FEditorStyle::GetStyleSetName(), "LevelEditor.ViewOptions", "LevelEditor.ViewOptions.Small");
builder.AddMenuEntry(FCookbookCommands::Get().MyButton);
};
EExtension = ToolbarExtender->AddToolBarExtension("Compile", EExtensionHook::Before, CommandList, FToolBarExtensionDelegate::CreateRaw(this, &FChapter_10EditorModule::AddToolbarExtension)); LevelEditorModule.GetToolBarExtensibilityManager()->AddExtender(ToolbarExtender);
Read now
Unlock full access