|
@@ -53,7 +53,7 @@ namespace GFGEditor
|
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新至内网", 1);
|
|
|
VEngine.Editor.Builds.BuildScript.BuildCustomBundles(new string[] { "Res", "ResIn" });
|
|
|
EditorUtility.ClearProgressBar();
|
|
|
- if(CommitWhenRelease)
|
|
|
+ if (CommitWhenRelease)
|
|
|
{
|
|
|
CommitProject();
|
|
|
}
|
|
@@ -79,7 +79,7 @@ namespace GFGEditor
|
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新美术资源", 1);
|
|
|
ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateArtRes.bat", ImportArtResTool.ResRootDirName);
|
|
|
//如果换装目录跟其他资源目录不一致,那么要再次更新换装目录
|
|
|
- if(ImportArtResTool.ResRootDirNameDressUp != ImportArtResTool.ResRootDirName)
|
|
|
+ if (ImportArtResTool.ResRootDirNameDressUp != ImportArtResTool.ResRootDirName)
|
|
|
{
|
|
|
ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateArtRes.bat", ImportArtResTool.ResRootDirNameDressUp);
|
|
|
}
|
|
@@ -197,13 +197,16 @@ namespace GFGEditor
|
|
|
FileUtil.DeleteUnnecessaryAnimation(ImportArtResTool.TextureTargetPath, ImportArtResTool.TextureSrcPaths[0]);
|
|
|
}
|
|
|
|
|
|
- //[MenuItem("策划/其它/清除冗余动画")]
|
|
|
+ [MenuItem("策划/其它/清除冗余动画")]
|
|
|
public static void DeleteUnnecessaryAni()
|
|
|
{
|
|
|
+ EditorUtility.DisplayProgressBar("进度", "正在清除冗余动画", 1);
|
|
|
FileUtil.DeleteUnnecessaryAnimation(ImportArtResTool.DressUpAnimationTargetPath, ImportArtResTool.DressUpAnimationSrcPaths[0]);
|
|
|
FileUtil.DeleteUnnecessaryAnimation(ImportArtResTool.EffectTargetPath, ImportArtResTool.EffectSrcPaths[0]);
|
|
|
FileUtil.DeleteUnnecessaryAnimation(ImportArtResTool.MaterialTargetPath, ImportArtResTool.MaterialSrcPaths[0]);
|
|
|
- FileUtil.DeleteUnnecessaryAnimation(ImportArtResTool.TextureTargetPath, ImportArtResTool.TextureSrcPaths[0]);
|
|
|
+ EditorUtility.ClearProgressBar();
|
|
|
+
|
|
|
+ // FileUtil.DeleteUnnecessaryAnimation(ImportArtResTool.TextureTargetPath, ImportArtResTool.TextureSrcPaths[0]);
|
|
|
}
|
|
|
[MenuItem("Tools/List Player Assemblies in Console")]
|
|
|
public static void PrintAssemblyNames()
|