public static void FixFiles(string[] filesToFix)
 {
     foreach (string fileName in filesToFix)
     {
         try
         {
             PragmaFixing30.FixPragmasInFile(fileName);
         }
         catch (Exception ex)
         {
             UnityEngine.Debug.LogError((object)("Failed to fix pragmas in file '" + fileName + "'.\n" + ex.Message));
         }
     }
 }
Beispiel #2
0
 public static void FixFiles(string[] filesToFix)
 {
     for (int i = 0; i < filesToFix.Length; i++)
     {
         string text = filesToFix[i];
         try
         {
             PragmaFixing30.FixPragmasInFile(text);
         }
         catch (Exception ex)
         {
             UnityEngine.Debug.LogError("Failed to fix pragmas in file '" + text + "'.\n" + ex.Message);
         }
     }
 }