소스 검색

卡牌资源导入

zhaoyang 3 년 전
부모
커밋
99f0c06ba3
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 3
      GameClient/Assets/Editor/ArtsRes/ImportArtResTool.cs
  2. 1 1
      GameClient/Assets/Editor/FileUtil.cs

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

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

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

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