private void DrawBeatInput() { EditorGUI.indentLevel++; EditorGUILayout.LabelField("Has beat", _beatInputService.HasBeat ? "yes" : "no"); EditorGUILayout.Slider("Metronome Diff", -_beatInputService.MetronomeDiff / BeatInputService.HALF_NOTE_TIME, -1, 1); EditorGUILayout.LabelField("Quality", BeatInputService.CalcNoteQuality(_beatInputService.MetronomeDiff).ToString()); EditorGUILayout.LabelField("Current Notes", string.Join(", ", _beatInputService.CurrentNotes)); List <Song> matchingSongs = _songService.CheckSongs(_beatInputService.CurrentNotes.ToArray()); EditorGUILayout.LabelField("Matching songs", string.Join(", ", matchingSongs.Select(song => song.Name))); EditorGUI.indentLevel--; }