|
@@ -77,6 +77,11 @@ namespace GFGEditor
|
|
{
|
|
{
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新美术资源", 1);
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新美术资源", 1);
|
|
ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateArtRes.bat", ImportArtResTool.ResRootDirName);
|
|
ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateArtRes.bat", ImportArtResTool.ResRootDirName);
|
|
|
|
+ //如果换装目录跟其他资源目录不一致,那么要再次更新换装目录
|
|
|
|
+ if(ImportArtResTool.ResRootDirNameDressUp != ImportArtResTool.ResRootDirName)
|
|
|
|
+ {
|
|
|
|
+ ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateArtRes.bat", ImportArtResTool.ResRootDirNameDressUp);
|
|
|
|
+ }
|
|
EditorUtility.ClearProgressBar();
|
|
EditorUtility.ClearProgressBar();
|
|
}
|
|
}
|
|
|
|
|
|
@@ -191,7 +196,7 @@ namespace GFGEditor
|
|
FileUtil.DeleteUnnecessaryAnimation(ImportArtResTool.TextureTargetPath, ImportArtResTool.TextureSrcPaths[0]);
|
|
FileUtil.DeleteUnnecessaryAnimation(ImportArtResTool.TextureTargetPath, ImportArtResTool.TextureSrcPaths[0]);
|
|
}
|
|
}
|
|
|
|
|
|
- [MenuItem("策划/其它/清除冗余动画")]
|
|
|
|
|
|
+ //[MenuItem("策划/其它/清除冗余动画")]
|
|
public static void DeleteUnnecessaryAni()
|
|
public static void DeleteUnnecessaryAni()
|
|
{
|
|
{
|
|
FileUtil.DeleteUnnecessaryAnimation(ImportArtResTool.DressUpAnimationTargetPath, ImportArtResTool.DressUpAnimationSrcPaths[0]);
|
|
FileUtil.DeleteUnnecessaryAnimation(ImportArtResTool.DressUpAnimationTargetPath, ImportArtResTool.DressUpAnimationSrcPaths[0]);
|
|
@@ -216,7 +221,7 @@ namespace GFGEditor
|
|
public static void SetBundlesResTestDir()
|
|
public static void SetBundlesResTestDir()
|
|
{
|
|
{
|
|
VEngine.Utility.buildPath = "Bundles_temp";
|
|
VEngine.Utility.buildPath = "Bundles_temp";
|
|
- ImportArtResTool.ResRootDirName = "正式资源-demo1";
|
|
|
|
|
|
+ ImportArtResTool.ResRootDirNameDressUp = "正式资源-demo1";
|
|
CommitWhenRelease = false;
|
|
CommitWhenRelease = false;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -224,7 +229,7 @@ namespace GFGEditor
|
|
public static void ResetBundlesResTestDir()
|
|
public static void ResetBundlesResTestDir()
|
|
{
|
|
{
|
|
VEngine.Utility.buildPath = "Bundles";
|
|
VEngine.Utility.buildPath = "Bundles";
|
|
- ImportArtResTool.ResRootDirName = "正式资源";
|
|
|
|
|
|
+ ImportArtResTool.ResRootDirNameDressUp = "正式资源";
|
|
CommitWhenRelease = true;
|
|
CommitWhenRelease = true;
|
|
}
|
|
}
|
|
|
|
|