public static string[] ListForType <T>(string mask = "*.cfg", bool subdirs = false)
        {
            string dir = IO.File <T> .Save.FullPathName(false, ".");

            string[] files = ReadableConfigNode.ListFiles(dir, mask, subdirs);
            return(files);
        }
Example #2
0
        public static string[] ListForType <T>(string mask = "*.cfg", bool subdirs = false)
        {
            string dir = IO.File <T> .Temp.FullPathName(".");

            try {
                string[] files = ReadableConfigNode.ListFiles(dir, mask, subdirs);
                return(files);
            } catch (SIO.FileNotFoundException) {
                return(new string[0]);
            }
        }