Example #1
0
 internal static string RandomFolder(string folderPath)
 {
     string[] files = Directory.GetDirectories(folderPath);
     if (files.Length <= 0)
     {
         return(null);
     }
     return(files[MelonUtils.RandomInt(0, files.Length)]);
 }