Esempio n. 1
0
        public void Initialize()
        {
            var toolbarMenu = this.Query <ToolbarMenu>("converge-toolbar--target-framework").First();

            toolbarMenu.menu.AppendAction(".Net 4.6", action => { toolbarMenu.text = TargetFrameworkText + ".Net 4.6"; });
            toolbarMenu.menu.AppendAction(".Net 2.0", action => { toolbarMenu.text = TargetFrameworkText + ".Net 2.0"; });
            toolbarMenu.menu.AppendAction(".Net 2.0 Subset", action => { toolbarMenu.text = TargetFrameworkText + ".Net 2.0 Subset"; });

            var toolbarNugetConfig = this.Query <ToolbarButton>("converge--toolbar-nuget-config").First();

            toolbarNugetConfig.clickable.clicked += () => { NugetConfigEditor.ShowWindow(); };
        }
Esempio n. 2
0
    public static void ShowWindow()
    {
        NugetConfigEditor wnd = GetWindow <NugetConfigEditor>();

        wnd.titleContent = new GUIContent("NuGet Config Properties");
    }