|
@@ -66,6 +66,7 @@ namespace GFGEditor
|
|
[MenuItem("策划/更新并导入美术资源", false, (int)TOOL_MENU_PRIORITY.UpdateAndImportArtRes)]
|
|
[MenuItem("策划/更新并导入美术资源", false, (int)TOOL_MENU_PRIORITY.UpdateAndImportArtRes)]
|
|
static void UpdateAndImportArtResAndCommit()
|
|
static void UpdateAndImportArtResAndCommit()
|
|
{
|
|
{
|
|
|
|
+ UpdateProjectRes();
|
|
UpdateAndImportArtRes();
|
|
UpdateAndImportArtRes();
|
|
if (CommitWhenRelease)
|
|
if (CommitWhenRelease)
|
|
{
|
|
{
|
|
@@ -94,6 +95,7 @@ namespace GFGEditor
|
|
Thread.Sleep(1000);
|
|
Thread.Sleep(1000);
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新项目", 1);
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新项目", 1);
|
|
ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateGame.bat");
|
|
ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateGame.bat");
|
|
|
|
+ UpdateProjectRes();
|
|
EditorUtility.ClearProgressBar();
|
|
EditorUtility.ClearProgressBar();
|
|
}
|
|
}
|
|
|
|
|
|
@@ -125,6 +127,11 @@ namespace GFGEditor
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+ private static void UpdateProjectRes()
|
|
|
|
+ {
|
|
|
|
+ ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateGameRes.bat");
|
|
|
|
+ }
|
|
|
|
+
|
|
public static void UpdateExcel()
|
|
public static void UpdateExcel()
|
|
{
|
|
{
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新表格", 1);
|
|
EditorUtility.DisplayProgressBar("进度", "正在更新表格", 1);
|