Przeglądaj źródła

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

zhaoyang 3 lat temu
rodzic
commit
993cece98f

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