Jelajahi Sumber

临时版本导配置

guodong 2 tahun lalu
induk
melakukan
9d23f688da

+ 4 - 1
GameClient/Assets/Editor/Excel/ExcelConfig.cs

@@ -14,7 +14,10 @@ namespace GFGEditor
         /// <summary>
         /// 存放临时excel表文件夹的的路径
         /// </summary>
-        public static string excelsCacheFolderPath = excelsFolderPath + "/CacheConfig/";
+        public static string excelsCacheFolderPath {
+            get{ return excelsFolderPath + "/CacheConfig/"; }
+            
+        }
 
         /// <summary>
         /// 存放编辑器序列化文件的文件夹路径

+ 2 - 4
GameClient/Assets/Editor/ToolsMenu.cs

@@ -336,15 +336,13 @@ namespace GFGEditor
         {
             try
             {
-                ImportArtResTool.ResRootDirNameDressUp = "Config-demo1";
-                CommitWhenRelease = false;
-                UpdateAndImportExcel();
+                ExcelConfig.excelsRootDirNameDressUp = "Config-demo1";
+                ImportExcel();
             }
             catch (Exception e)
             {
                 Log.Error(e.ToString());
                 ExcelConfig.excelsRootDirNameDressUp = "Config";
-                CommitWhenRelease = true;
             }
         }