Ejemplo n.º 1
0
        private void OnWindowStarPower(int id)
        {
            var largeLabelStyle = new GUIStyle {
                fontSize  = 20,
                alignment = TextAnchor.UpperLeft,
                fontStyle = FontStyle.Bold,
                normal    = new GUIStyleState {
                    textColor = Color.white,
                }
            };

            GUILayout.Label("Star Power", largeLabelStyle);
            if (GUILayout.Button("Name Label", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.StarPowerName;
                settingsCurrentlyEditingName = "Star Power Name Label";
                settingsCurrentBack          = OnWindowStarPower;
            }
            if (GUILayout.Button("Hit Counter", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.StarPowersGottenCounter;
                settingsCurrentlyEditingName = "Star Powers Hit Counter";
                settingsCurrentBack          = OnWindowStarPower;
            }
            if (GUILayout.Button("Total Counter", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.TotalStarPowersCounter;
                settingsCurrentlyEditingName = "Total Star Powers Counter";
                settingsCurrentBack          = OnWindowStarPower;
            }
            if (GUILayout.Button("Percentage", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.StarPowerPercentage;
                settingsCurrentlyEditingName = "Star Powers Hit Percentage";
                settingsCurrentBack          = OnWindowStarPower;
            }
            if (GUILayout.Button("Current SP", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.CurrentStarPower;
                settingsCurrentlyEditingName = "Current SP Percentage";
                settingsCurrentBack          = OnWindowStarPower;
            }
            GUILayout.Space(50.0f);
            if (GUILayout.Button("Back", settingsButtonStyle))
            {
                settingsOnWindow = OnWindowHead;
            }
            GUI.DragWindow();
        }
Ejemplo n.º 2
0
        private void OnWindowSevenStar(int id)
        {
            var largeLabelStyle = new GUIStyle {
                fontSize  = 20,
                alignment = TextAnchor.UpperLeft,
                fontStyle = FontStyle.Bold,
                normal    = new GUIStyleState {
                    textColor = Color.white,
                }
            };

            GUILayout.Label("Seven Star", largeLabelStyle);
            if (GUILayout.Button("Name Label", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.SevenStarProgressName;
                settingsCurrentlyEditingName = "Seven Star Name Label";
                settingsCurrentBack          = OnWindowSevenStar;
            }
            if (GUILayout.Button("Current Score", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.SevenStarProgressScore;
                settingsCurrentlyEditingName = "Seven Star Progress Score";
                settingsCurrentBack          = OnWindowSevenStar;
            }
            if (GUILayout.Button("End Score", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.SevenStarProgressEndScore;
                settingsCurrentlyEditingName = "Seven Star Progress End Score";
                settingsCurrentBack          = OnWindowSevenStar;
            }
            if (GUILayout.Button("Percentage", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.SevenStarProgressPercentage;
                settingsCurrentlyEditingName = "Seven Star Percentage";
                settingsCurrentBack          = OnWindowSevenStar;
            }
            GUILayout.Space(50.0f);
            if (GUILayout.Button("Back", settingsButtonStyle))
            {
                settingsOnWindow = OnWindowHead;
            }
            GUI.DragWindow();
        }
Ejemplo n.º 3
0
        private void OnWindowTime(int id)
        {
            var largeLabelStyle = new GUIStyle {
                fontSize  = 20,
                alignment = TextAnchor.UpperLeft,
                fontStyle = FontStyle.Bold,
                normal    = new GUIStyleState {
                    textColor = Color.white,
                }
            };

            GUILayout.Label("Time", largeLabelStyle);
            if (GUILayout.Button("Name Label", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.TimeName;
                settingsCurrentlyEditingName = "Time Name Label";
                settingsCurrentBack          = OnWindowTime;
            }
            if (GUILayout.Button("Song Time", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.SongTime;
                settingsCurrentlyEditingName = "Song Time";
                settingsCurrentBack          = OnWindowTime;
            }
            if (GUILayout.Button("Song Length", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.SongLength;
                settingsCurrentlyEditingName = "Song Length";
                settingsCurrentBack          = OnWindowTime;
            }
            if (GUILayout.Button("Song Time Percentage", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.SongTimePercentage;
                settingsCurrentlyEditingName = "Song Time Percentage";
                settingsCurrentBack          = OnWindowTime;
            }
            GUILayout.Space(50.0f);
            if (GUILayout.Button("Back", settingsButtonStyle))
            {
                settingsOnWindow = OnWindowHead;
            }
            GUI.DragWindow();
        }
Ejemplo n.º 4
0
 private void UpdateGameplayLabel(GameObject o, FormattableColorablePositionableLabel labelSettings, string content)
 {
     if (labelSettings.Visible && config.Enabled)
     {
         o.transform.localPosition = new Vector3(labelSettings.X - Screen.width / 2, Screen.height / 2 - labelSettings.Y);
         var text = o.GetComponent <Text>();
         text.enabled   = true;
         text.fontSize  = labelSettings.Size;
         text.alignment = labelSettings.Alignment;
         text.fontStyle = (labelSettings.Bold ? FontStyle.Bold : FontStyle.Normal) | (labelSettings.Italic ? FontStyle.Italic : FontStyle.Normal);
         text.text      = content;
         text.color     = labelSettings.Color.Color;
     }
     else
     {
         o.GetComponent <Text>().enabled = false;
     }
 }
Ejemplo n.º 5
0
        private void OnWindowCombo(int id)
        {
            var largeLabelStyle = new GUIStyle {
                fontSize  = 20,
                alignment = TextAnchor.UpperLeft,
                fontStyle = FontStyle.Bold,
                normal    = new GUIStyleState {
                    textColor = Color.white,
                }
            };

            GUILayout.Label("Combo", largeLabelStyle);
            if (GUILayout.Button("Name Label", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.ComboName;
                settingsCurrentlyEditingName = "Combo Name Label";
                settingsCurrentBack          = OnWindowCombo;
            }
            if (GUILayout.Button("Current Combo Counter", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.CurrentComboCounter;
                settingsCurrentlyEditingName = "Current Combo Counter";
                settingsCurrentBack          = OnWindowCombo;
            }
            if (GUILayout.Button("Highest Combo Counter", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.HighestComboCounter;
                settingsCurrentlyEditingName = "Highest Combo Counter";
                settingsCurrentBack          = OnWindowCombo;
            }
            GUILayout.Space(50.0f);
            if (GUILayout.Button("Back", settingsButtonStyle))
            {
                settingsOnWindow = OnWindowHead;
            }
            GUI.DragWindow();
        }
Ejemplo n.º 6
0
        public Config()
        {
            // These original numbers were designed with 1440p in mind so this'll sort it out.
            float widthScale         = Screen.width / 2560.0f;
            float heightScale        = Screen.height / 1440.0f;
            int   smallFontSize      = (int)(30 * widthScale);
            int   largeFontSize      = (int)(50 * widthScale);
            int   extraLargeFontSize = (int)(150 * widthScale);

            Version        = 2;
            TweakVersion   = "0.0.0";
            SilenceUpdates = false;

            ConfigX       = 400.0f;
            ConfigY       = 400.0f;
            ConfigKeyBind = new KeyBind {
                Key   = KeyCode.F5,
                Ctrl  = true,
                Alt   = false,
                Shift = true
            };

            Enabled        = true;
            EnabledKeyBind = new KeyBind {
                Key   = KeyCode.F5,
                Ctrl  = false,
                Alt   = false,
                Shift = false
            };

            TimeName = new FormattableColorablePositionableLabel {
                Format    = "Time:",
                X         = (int)(60.0f * widthScale),
                Y         = (int)(750.0f * heightScale),
                Size      = smallFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            SongTime = new FormattableColorablePositionableLabel {
                Format    = "{0} /",
                X         = (int)(350.0f * widthScale),
                Y         = (int)(750.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            SongLength = new FormattableColorablePositionableLabel {
                Format    = "{0}",
                X         = (int)(620.0f * widthScale),
                Y         = (int)(750.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            SongTimePercentage = new FormattableColorablePositionableLabel {
                Format    = "({0}%)",
                X         = (int)(750.0f * widthScale),
                Y         = (int)(750.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerLeft,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            CurrentStarProgressName = new FormattableColorablePositionableLabel {
                Format    = "{0} → {1}:",
                X         = (int)(60.0f * widthScale),
                Y         = (int)(810.0f * heightScale),
                Size      = smallFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            CurrentStarProgressScore = new FormattableColorablePositionableLabel {
                Format    = "{0} /",
                X         = (int)(350.0f * widthScale),
                Y         = (int)(810.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            CurrentStarProgressEndScore = new FormattableColorablePositionableLabel {
                Format    = "{0}",
                X         = (int)(620.0f * widthScale),
                Y         = (int)(810.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            CurrentStarProgressPercentage = new FormattableColorablePositionableLabel {
                Format    = "({0}%)",
                X         = (int)(750.0f * widthScale),
                Y         = (int)(810.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerLeft,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            SevenStarProgressName = new FormattableColorablePositionableLabel {
                Format    = "0 → 7:",
                X         = (int)(60.0f * widthScale),
                Y         = (int)(870.0f * heightScale),
                Size      = smallFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            SevenStarProgressScore = new FormattableColorablePositionableLabel {
                Format    = "{0} /",
                X         = (int)(350.0f * widthScale),
                Y         = (int)(870.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            SevenStarProgressEndScore = new FormattableColorablePositionableLabel {
                Format    = "{0}",
                X         = (int)(620.0f * widthScale),
                Y         = (int)(870.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            SevenStarProgressPercentage = new FormattableColorablePositionableLabel {
                Format    = "({0}%)",
                X         = (int)(750.0f * widthScale),
                Y         = (int)(870.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerLeft,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            NotesName = new FormattableColorablePositionableLabel {
                Format    = "Notes:",
                X         = (int)(60.0f * widthScale),
                Y         = (int)(930.0f * heightScale),
                Size      = smallFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            NotesHitCounter = new FormattableColorablePositionableLabel {
                Format    = "{0} /",
                X         = (int)(280.0f * widthScale),
                Y         = (int)(930.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            NotesPassedCounter = new FormattableColorablePositionableLabel {
                Format    = "{0} /",
                X         = (int)(470.0f * widthScale),
                Y         = (int)(930.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            TotalNotesCounter = new FormattableColorablePositionableLabel {
                Format    = "{0}",
                X         = (int)(640.0f * widthScale),
                Y         = (int)(930.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            SeenNotesHitPercentage = new FormattableColorablePositionableLabel {
                Format    = "({0}%)",
                X         = (int)(750.0f * widthScale),
                Y         = (int)(930.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerLeft,
                Bold      = true,
                Italic    = false,
                Visible   = false,
                Color     = new ColorARGB(Color.white)
            };

            NotesHitPercentage = new FormattableColorablePositionableLabel {
                Format    = "({0}%)",
                X         = (int)(750.0f * widthScale),
                Y         = (int)(930.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerLeft,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            NotesMissedCounter = new FormattableColorablePositionableLabel {
                Format    = "{0}",
                X         = (int)(750.0f * widthScale),
                Y         = (int)(1100.0f * heightScale),
                Size      = extraLargeFontSize,
                Alignment = TextAnchor.MiddleRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            StarPowerName = new FormattableColorablePositionableLabel {
                Format    = "SP:",
                X         = (int)(60.0f * widthScale),
                Y         = (int)(990.0f * heightScale),
                Size      = smallFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            StarPowersGottenCounter = new FormattableColorablePositionableLabel {
                Format    = "{0} /",
                X         = (int)(280.0f * widthScale),
                Y         = (int)(990.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            TotalStarPowersCounter = new FormattableColorablePositionableLabel {
                Format    = "{0}",
                X         = (int)(430.0f * widthScale),
                Y         = (int)(990.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            StarPowerPercentage = new FormattableColorablePositionableLabel {
                Format    = "({0}%)",
                X         = (int)(750.0f * widthScale),
                Y         = (int)(990.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerLeft,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            CurrentStarPower = new FormattableColorablePositionableLabel {
                Format    = "({0}%)",
                X         = (int)(1825.0f * widthScale),
                Y         = (int)(1125.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerLeft,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            ComboName = new FormattableColorablePositionableLabel {
                Format    = "Combo:",
                X         = (int)(60.0f * widthScale),
                Y         = (int)(1050.0f * heightScale),
                Size      = smallFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            CurrentComboCounter = new FormattableColorablePositionableLabel {
                Format    = "{0} /",
                X         = (int)(280.0f * widthScale),
                Y         = (int)(1050.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            HighestComboCounter = new FormattableColorablePositionableLabel {
                Format    = "{0}",
                X         = (int)(430.0f * widthScale),
                Y         = (int)(1050.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerRight,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };
        }
Ejemplo n.º 7
0
        public Config(OldConfig oldConfig)
        {
            // These original numbers were designed with 1440p in mind so this'll sort it out.
            float widthScale         = Screen.width / 2560.0f;
            float heightScale        = Screen.height / 1440.0f;
            int   smallFontSize      = (int)(30 * widthScale);
            int   largeFontSize      = (int)(50 * widthScale);
            int   extraLargeFontSize = (int)(150 * widthScale);

            Version        = 2;
            TweakVersion   = "0.0.0";
            SilenceUpdates = false;

            ConfigX       = oldConfig.ConfigX;
            ConfigY       = oldConfig.ConfigY;
            ConfigKeyBind = new KeyBind {
                Key   = KeyCode.F5,
                Ctrl  = true,
                Alt   = false,
                Shift = true
            };

            Enabled        = oldConfig.HideAll;
            EnabledKeyBind = new KeyBind {
                Key   = KeyCode.F5,
                Ctrl  = false,
                Alt   = false,
                Shift = false
            };

            TimeName   = NewLabelFromOld(oldConfig.TimeName);
            SongTime   = NewLabelFromOld(oldConfig.SongTime);
            SongLength = NewLabelFromOld(oldConfig.SongLength);
            CurrentStarProgressName       = NewLabelFromOld(oldConfig.CurrentStarProgressName);
            CurrentStarProgressScore      = NewLabelFromOld(oldConfig.CurrentStarProgressScore);
            CurrentStarProgressEndScore   = NewLabelFromOld(oldConfig.CurrentStarProgressEndScore);
            CurrentStarProgressPercentage = NewLabelFromOld(oldConfig.CurrentStarProgressPercentage);
            SevenStarProgressName         = NewLabelFromOld(oldConfig.SevenStarProgressName);
            SevenStarProgressScore        = NewLabelFromOld(oldConfig.SevenStarProgressScore);
            SevenStarProgressEndScore     = NewLabelFromOld(oldConfig.SevenStarProgressEndScore);
            SevenStarProgressPercentage   = NewLabelFromOld(oldConfig.SevenStarProgressPercentage);
            NotesName               = NewLabelFromOld(oldConfig.NotesName);
            NotesHitCounter         = NewLabelFromOld(oldConfig.NotesHitCounter);
            NotesPassedCounter      = NewLabelFromOld(oldConfig.NotesPassedCounter);
            TotalNotesCounter       = NewLabelFromOld(oldConfig.TotalNotesCounter);
            NotesHitPercentage      = NewLabelFromOld(oldConfig.NotesHitPercentage);
            NotesMissedCounter      = NewLabelFromOld(oldConfig.NotesMissedCounter);
            StarPowerName           = NewLabelFromOld(oldConfig.StarPowerName);
            StarPowersGottenCounter = NewLabelFromOld(oldConfig.StarPowersGottenCounter);
            TotalStarPowersCounter  = NewLabelFromOld(oldConfig.TotalStarPowersCounter);
            StarPowerPercentage     = NewLabelFromOld(oldConfig.StarPowerPercentage);
            ComboName               = NewLabelFromOld(oldConfig.ComboName);
            CurrentComboCounter     = NewLabelFromOld(oldConfig.CurrentComboCounter);
            HighestComboCounter     = NewLabelFromOld(oldConfig.HighestComboCounter);

            SongTimePercentage = new FormattableColorablePositionableLabel {
                Format    = "({0}%)",
                X         = (int)(750.0f * widthScale),
                Y         = (int)(750.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerLeft,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };

            SeenNotesHitPercentage = new FormattableColorablePositionableLabel {
                Format    = "({0}%)",
                X         = (int)(750.0f * widthScale),
                Y         = (int)(930.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerLeft,
                Bold      = true,
                Italic    = false,
                Visible   = false,
                Color     = new ColorARGB(Color.white)
            };

            CurrentStarPower = new FormattableColorablePositionableLabel {
                Format    = "({0}%)",
                X         = (int)(1825.0f * widthScale),
                Y         = (int)(1125.0f * heightScale),
                Size      = largeFontSize,
                Alignment = TextAnchor.LowerLeft,
                Bold      = true,
                Italic    = false,
                Visible   = true,
                Color     = new ColorARGB(Color.white)
            };
        }
Ejemplo n.º 8
0
        private void OnWindowNotes(int id)
        {
            var largeLabelStyle = new GUIStyle {
                fontSize  = 20,
                alignment = TextAnchor.UpperLeft,
                fontStyle = FontStyle.Bold,
                normal    = new GUIStyleState {
                    textColor = Color.white,
                }
            };

            GUILayout.Label("Notes", largeLabelStyle);
            if (GUILayout.Button("Name Label", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.NotesName;
                settingsCurrentlyEditingName = "Notes Name Label";
                settingsCurrentBack          = OnWindowNotes;
            }
            if (GUILayout.Button("Hit Counter", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.NotesHitCounter;
                settingsCurrentlyEditingName = "Notes Hit Counter";
                settingsCurrentBack          = OnWindowNotes;
            }
            if (GUILayout.Button("Passed Counter", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.NotesPassedCounter;
                settingsCurrentlyEditingName = "Notes Passed Counter";
                settingsCurrentBack          = OnWindowNotes;
            }
            if (GUILayout.Button("Total Counter", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.TotalNotesCounter;
                settingsCurrentlyEditingName = "Total Notes Counter";
                settingsCurrentBack          = OnWindowNotes;
            }
            if (GUILayout.Button("Hit Percentage", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.SeenNotesHitPercentage;
                settingsCurrentlyEditingName = "Seen Notes Hit Percentage";
                settingsCurrentBack          = OnWindowNotes;
            }
            if (GUILayout.Button("Total Percentage", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.NotesHitPercentage;
                settingsCurrentlyEditingName = "Total Notes Hit Percentage";
                settingsCurrentBack          = OnWindowNotes;
            }
            if (GUILayout.Button("Missed Counter", settingsButtonStyle))
            {
                settingsOnWindow             = OnWindowEdit;
                settingsCurrentlyEditing     = config.NotesMissedCounter;
                settingsCurrentlyEditingName = "Notes Missed Counter";
                settingsCurrentBack          = OnWindowNotes;
            }
            GUILayout.Space(50.0f);
            if (GUILayout.Button("Back", settingsButtonStyle))
            {
                settingsOnWindow = OnWindowHead;
            }
            GUI.DragWindow();
        }