|
@@ -26,6 +26,10 @@ namespace GFGEditor
|
|
|
public static string MusicTargetPath = $"{ResPathUtil.MUSIC_DIR_PATH}/";
|
|
|
public static string MusicMd5FileSaveName = "MusicMd5";
|
|
|
|
|
|
+ private static string[] CardMusicSrcPaths { get { return new string[] { ResRootPath + "cardMusic/Card/" }; } }
|
|
|
+ public static string CardMusicTargetPath = $"{ResPathUtil.SOUND_DIR_PATH}/Card/";
|
|
|
+ public static string CardMusicMd5FileSaveName = "CardMusicMd5";
|
|
|
+
|
|
|
|
|
|
private static string[] ItemIconSrcPaths { get { return new string[] { ResRootPath + "icon/" }; } }
|
|
|
public static string ItemIconTargetPath = $"{ResPathUtil.TEXTURE_DIR_PATH}/Icon/";
|
|
@@ -113,6 +117,9 @@ namespace GFGEditor
|
|
|
//音乐
|
|
|
EditorUtility.DisplayProgressBar("进度", "正在导入音乐", 1);
|
|
|
ImportRes(MusicSrcPaths, MusicTargetPath, MusicMd5FileSaveName);
|
|
|
+ //卡牌音乐
|
|
|
+ EditorUtility.DisplayProgressBar("进度", "正在导入卡牌音乐", 1);
|
|
|
+ ImportRes(CardMusicSrcPaths, CardMusicTargetPath, CardMusicMd5FileSaveName);
|
|
|
//图鉴图标
|
|
|
EditorUtility.DisplayProgressBar("进度", "正在导入图鉴图标", 1);
|
|
|
ImportRes(FieldGuideIconSrcPaths, FieldGuideIconTargetPath, FieldGuideIconMd5FileSaveName);
|