If you are starting from the toolbar example, add this line to the StartupModule() method:
LevelEditorModule.GetGlobalLevelEditorActions()->Append(PluginCommands.ToSharedRef());
If you are starting from the toolbar example, add this line to the StartupModule() method:
LevelEditorModule.GetGlobalLevelEditorActions()->Append(PluginCommands.ToSharedRef());