void drawSettings() { GUILayout.Label("Settings", style.resourceTableName); GUI.enabled = true; Settings.action_screen = GUILayout.Toggle(Settings.action_screen, "Show in Action Groups"); Settings.marker_autoscale = GUILayout.Toggle(Settings.marker_autoscale, "Marker autoscaling"); pluginShortcut.DrawConfig(); }
void drawSettings() { GUILayout.Label("Settings", style.resourceTableName); //GUI.enabled = Settings.toolbar_plugin_loaded && Settings.applauncher; #if false bool toolbar = Settings.toolbar_plugin; toolbar = GUILayout.Toggle(toolbar, "Use blizzy's toolbar"); if (Settings.toolbar_plugin != toolbar) { Settings.toolbar_plugin = toolbar; } #endif GUI.enabled = true; Settings.action_screen = GUILayout.Toggle(Settings.action_screen, "Show in Action Groups"); Settings.marker_autoscale = GUILayout.Toggle(Settings.marker_autoscale, "Marker autoscaling"); pluginShortcut.DrawConfig(); }
void drawSettings() { GUILayout.Label("Settings", style.resourceTableName); GUI.enabled = Settings.toolbar_plugin_loaded; bool applauncher = Settings.applauncher; applauncher = GUILayout.Toggle(applauncher, "Use application launcher"); if (applauncher != Settings.applauncher) { Settings.applauncher = applauncher; if (applauncher) { AppLauncher.instance.addButton(); } else { AppLauncher.instance.removeButton(); if (!Settings.toolbar_plugin) { Settings.setupToolbar(true); } } } GUI.enabled = Settings.toolbar_plugin_loaded && Settings.applauncher; bool toolbar = Settings.toolbar_plugin; toolbar = GUILayout.Toggle(toolbar, "Use blizzy's toolbar"); if (Settings.toolbar_plugin != toolbar) { Settings.setupToolbar(toolbar); } GUI.enabled = true; Settings.action_screen = GUILayout.Toggle(Settings.action_screen, "Show in Action Groups"); Settings.marker_autoscale = GUILayout.Toggle(Settings.marker_autoscale, "Marker autoscaling"); pluginShortcut.DrawConfig(); }