예제 #1
0
        public static void EditorLinks()
        {
            Elements.BoldLabel(ToolTips.editorLinksLabel);

            Elements.BeginToolbarHorizontal();
            if (Elements.ToolbarButton(ToolTips.reportBug))
            {
                ShortcutManager.OpenReportBug();
            }
            if (Elements.ToolbarButton(ToolTips.requestFeature))
            {
                ShortcutManager.OpenRequestFeature();
            }
            if (Elements.ToolbarButton(ToolTips.roadMap))
            {
                ShortcutManager.OpenRoadMap();
            }
            Elements.EndToolbarHorizontal();

            Elements.BeginToolbarHorizontal();
            if (Elements.ToolbarButton(ToolTips.wiki))
            {
                ShortcutManager.OpenWiki();
            }
            if (Elements.ToolbarButton(ToolTips.discord))
            {
                ShortcutManager.OpenDiscord();
            }
            Elements.EndToolbarHorizontal();
        }