瀏覽代碼

临时版本导配置

guodong 2 年之前
父節點
當前提交
9d23f688da
共有 2 個文件被更改,包括 6 次插入5 次删除
  1. 4 1
      GameClient/Assets/Editor/Excel/ExcelConfig.cs
  2. 2 4
      GameClient/Assets/Editor/ToolsMenu.cs

+ 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;
             }
         }