ソースを参照

卡牌资源导入

zhaoyang 3 年 前
コミット
99f0c06ba3

+ 3 - 3
GameClient/Assets/Editor/ArtsRes/ImportArtResTool.cs

@@ -129,9 +129,9 @@ namespace GFGEditor
             EditorUtility.DisplayProgressBar("进度", "正在导入背景图", 1);
             EditorUtility.DisplayProgressBar("进度", "正在导入背景图", 1);
             ImportRes(BgSrcPaths, BgTargetPath, BgMd5FileSaveName);
             ImportRes(BgSrcPaths, BgTargetPath, BgMd5FileSaveName);
 
 
-            // //卡牌背景
-            // EditorUtility.DisplayProgressBar("进度", "正在导入卡牌背景", 1);
-            // ImportRes(CardBgSrcPaths, CardBgTargetPath, CardBgMd5FileSaveName);
+            //卡牌背景
+            EditorUtility.DisplayProgressBar("进度", "正在导入卡牌背景", 1);
+            ImportRes(CardBgSrcPaths, CardBgTargetPath, CardBgMd5FileSaveName);
             //卡牌icon
             //卡牌icon
             EditorUtility.DisplayProgressBar("进度", "正在导入卡牌图标", 1);
             EditorUtility.DisplayProgressBar("进度", "正在导入卡牌图标", 1);
             ImportRes(CardIconSrcPaths, CardIconTargetPath, CardMd5FileSaveName);
             ImportRes(CardIconSrcPaths, CardIconTargetPath, CardMd5FileSaveName);

+ 1 - 1
GameClient/Assets/Editor/FileUtil.cs

@@ -365,7 +365,7 @@ namespace GFGEditor
                 foreach (var lDir in localDirs)
                 foreach (var lDir in localDirs)
                 {
                 {
                     string lDirName = Path.GetFileName(lDir);
                     string lDirName = Path.GetFileName(lDir);
-                    if (lDirName == "Card") continue;
+                    // if (lDirName == "Card") continue;
                     bool needDelete = false;
                     bool needDelete = false;
                     foreach (var sDir in souDirs)
                     foreach (var sDir in souDirs)
                     {
                     {