Bläddra i källkod

导入美术工具添加Material资源后缀

zhaoyang 3 år sedan
förälder
incheckning
993cece98f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      GameClient/Assets/Editor/ArtsRes/ImportArtResTool.cs

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

@@ -155,7 +155,7 @@ namespace GFGEditor
             }
             foreach (string dir in sourceDirs)
             {
-                files = FileUtil.CopyFilesTo(dir, targetDir, saveName, new string[] { ".png", ".jpg", ".mp3" }, ragule);
+                files = FileUtil.CopyFilesTo(dir, targetDir, saveName, new string[] { ".png", ".jpg", ".mp3", ".meta" }, ragule);
                 foreach (var file in files)
                 {
                     Debug.LogFormat("更新{0}", file);