|
@@ -65,9 +65,15 @@ namespace GFGEditor
|
|
|
public static string DressUpAnimationTargetPath = $"{ResPathUtil.ANIMATION_DIR_PATH}/";
|
|
|
|
|
|
|
|
|
- private static string[] EffectSrcPaths = new string[] { $"../../../gfg/ArtProject/{ResPathUtil.EFFECT_DIR_PATH}/" };
|
|
|
+ public static string[] EffectSrcPaths = new string[] { $"../../../gfg/ArtProject/{ResPathUtil.EFFECT_DIR_PATH}/" };
|
|
|
public static string EffectTargetPath = $"{ResPathUtil.EFFECT_DIR_PATH}/";
|
|
|
|
|
|
+ public static string[] MaterialSrcPaths = new string[] { $"../../../gfg/ArtProject/{ResPathUtil.Material_DIR_PATH}/" };
|
|
|
+ public static string MaterialTargetPath = $"{ResPathUtil.Material_DIR_PATH}/";
|
|
|
+
|
|
|
+ public static string[] TextureSrcPaths = new string[] { $"../../../gfg/ArtProject/{ResPathUtil.Texture_DIR_PATH}/" };
|
|
|
+ public static string TextureTargetPath = $"{ResPathUtil.Texture_DIR_PATH}/";
|
|
|
+
|
|
|
|
|
|
|
|
|
public static void Import()
|
|
@@ -105,6 +111,12 @@ namespace GFGEditor
|
|
|
//特效
|
|
|
EditorUtility.DisplayProgressBar("进度", "正在导入特效动画", 1);
|
|
|
ImportFileAndDir(EffectSrcPaths, EffectTargetPath);
|
|
|
+ //材质
|
|
|
+ EditorUtility.DisplayProgressBar("进度", "正在导入特效材质", 1);
|
|
|
+ ImportFileAndDir(MaterialSrcPaths, MaterialTargetPath);
|
|
|
+ //图片
|
|
|
+ EditorUtility.DisplayProgressBar("进度", "正在导入特效图片", 1);
|
|
|
+ ImportFileAndDir(TextureSrcPaths, TextureTargetPath);
|
|
|
|
|
|
//NPC对话立绘
|
|
|
EditorUtility.DisplayProgressBar("进度", "正在导入NPC对话立绘", 1);
|