private void GUILevels(string path) { using (MadGUI.Indent(2)) { var levelNames = MadLevelProfile.GetLevelNames(); levelNames.Sort(new MadNaturalSortComparer()); foreach (var levelName in levelNames) { path += "/" + levelName; if (Foldout(levelName, path)) { GUILevel(levelName); } } } }