예제 #1
0
    private static void GUILevel(string levelName)
    {
        using (MadGUI.Indent(2)) {
            var propertyNames = MadLevelProfile.GetLevelPropertyNames(levelName);
            propertyNames.Sort(new MadNaturalSortComparer());

            foreach (var propertyName in propertyNames)
            {
                var propertyValue = MadLevelProfile.GetLevelAny(levelName, propertyName);
                GUIProperty(propertyName, propertyValue);
            }
        }
    }