Explorar el Código

修复导表的一个bug

tanghai hace 4 años
padre
commit
0c25537cb7

+ 3 - 3
Config/AIConfigCategory.bytes

@@ -1,4 +1,4 @@
 
-e"攻击
-f"巡逻
-É"巡逻
+e"	AI_Attack
+f"	AI_XunLuo
+É"	AI_XunLuo

BIN
Excel/AIConfig.xlsx


+ 11 - 4
Tools/App/Apps/ExcelExporter/ExcelExporter.cs

@@ -59,10 +59,17 @@ namespace ET
             {
                 template = File.ReadAllText("Template.txt");
                 ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
-                
-                Directory.Delete(clientClassDir, true);
-                Directory.Delete(serverClassDir, true);
-                
+
+                if (Directory.Exists(clientClassDir))
+                {
+                    Directory.Delete(clientClassDir, true);
+                }
+
+                if (Directory.Exists(serverClassDir))
+                {
+                    Directory.Delete(serverClassDir, true);
+                }
+
                 foreach (string path in Directory.GetFiles(excelDir))
                 {
                     string fileName = Path.GetFileName(path);

+ 3 - 3
Unity/Assets/Bundles/Config/AIConfigCategory.bytes

@@ -1,4 +1,4 @@
 
-e"Ф■╩Е┤╩
-f"Е╥║И─╩
-и"Е╥║И─╩
+e"	AI_Attack
+f"	AI_XunLuo
+и"	AI_XunLuo