فهرست منبع

清理工具脚本

guodong 3 سال پیش
والد
کامیت
e0a544b0e9

+ 0 - 3
GameClient/Assets/Editor/Bat/commitArtRes.bat

@@ -1,3 +0,0 @@
-cd ../../../../../../gfg/Õýʽ×ÊÔ´
-svn add . --force
-svn ci -m "¹«ÓûúÌá½»"

+ 0 - 7
GameClient/Assets/Editor/Bat/commitArtRes.bat.meta

@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: fc463c34e4257fc4ba028527956c6e89
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 3
GameClient/Assets/Editor/Bat/commitExcel.bat

@@ -1,3 +0,0 @@
-cd ../../../../../../gfg/tools/Config/
-svn add . --force
-svn ci -m "¹«ÓûúÌá½»"

+ 0 - 7
GameClient/Assets/Editor/Bat/commitExcel.bat.meta

@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 3013cc155ef96c545abe7f54655dd1fc
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 7 - 56
GameClient/Assets/Editor/ToolsMenu.cs

@@ -17,25 +17,17 @@ namespace GFGEditor
             UpdateAndImportArtRes,
             CheckExcel,
             BuildBundlesRes,
-            UpdateAll,
-            UpdateGame,
-            UpdateExcel,
-            UpdateArtRes,
+            UpdateProject,
             ImportExcel,
             ImportArtRes,
-            CommitAll,
-            CommitGame,
-            CommitExcel,
-            CommitArtRes,
         }
 
         [MenuItem("策划/更新并导入所有", false, (int)TOOL_MENU_PRIORITY.UpdateAndImportAll)]
         static void UpdateAndImportAll()
         {
-            UpdateAll();
-            ImportArtRes();
-            ImportExcel();
-            EditorUtility.DisplayDialog("提示", "操作成功!", "ok");//记得切出再切回编辑器焦点重新编译
+            UpdateProject();
+            UpdateAndImportArtRes();
+            UpdateAndImportExcel();
         }
 
         [MenuItem("策划/更新并导入Excel", false, (int)TOOL_MENU_PRIORITY.UpdateAndImportExcel)]
@@ -43,7 +35,6 @@ namespace GFGEditor
         {
             UpdateExcel();
             ImportExcel();
-            EditorUtility.DisplayDialog("提示", "操作成功!", "ok");//记得切出再切回编辑器焦点重新编译
         }
 
         [MenuItem("策划/更新并导入美术资源", false, (int)TOOL_MENU_PRIORITY.UpdateAndImportArtRes)]
@@ -51,7 +42,6 @@ namespace GFGEditor
         {
             UpdateArtRes();
             ImportArtRes();
-            EditorUtility.DisplayDialog("提示", "操作成功!", "ok");//记得切出再切回编辑器焦点重新编译
         }
 
         [MenuItem("策划/更新至内网版本", false, (int)TOOL_MENU_PRIORITY.BuildBundlesRes)]
@@ -59,12 +49,11 @@ namespace GFGEditor
         {
             EditorUtility.DisplayProgressBar("进度", "正在更新至内网", 1);
             VEngine.Editor.Builds.BuildScript.BuildCustomBundles(new string[] { "Res", "ResIn" });
-            CommitAll();
             EditorUtility.ClearProgressBar();
-            EditorUtility.DisplayDialog("提示", "操作成功!", "ok");//记得切出再切回编辑器焦点重新编译
+            CommitProject();
         }
 
-        [MenuItem("策划/其它/更新项目", false, (int)TOOL_MENU_PRIORITY.UpdateGame)]
+        [MenuItem("策划/其它/更新项目", false, (int)TOOL_MENU_PRIORITY.UpdateProject)]
         static void UpdateProject()
         {
             EditorUtility.DisplayProgressBar("进度", "正在更新项目", 1);
@@ -72,7 +61,6 @@ namespace GFGEditor
             EditorUtility.ClearProgressBar();
         }
 
-        [MenuItem("策划/其它/更新配置表", false, (int)TOOL_MENU_PRIORITY.UpdateExcel)]
         public static void UpdateExcel()
         {
             EditorUtility.DisplayProgressBar("进度", "正在更新表格", 1);
@@ -80,25 +68,13 @@ namespace GFGEditor
             EditorUtility.ClearProgressBar();
         }
 
-        [MenuItem("策划/其它/更新美术资源", false, (int)TOOL_MENU_PRIORITY.UpdateArtRes)]
-        public static void UpdateArtRes
-            ()
+        public static void UpdateArtRes()
         {
             EditorUtility.DisplayProgressBar("进度", "正在更新美术资源", 1);
             ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateArtRes.bat");
             EditorUtility.ClearProgressBar();
         }
 
-        [MenuItem("策划/其它/更新所有", false, (int)TOOL_MENU_PRIORITY.UpdateAll)]
-        public static void UpdateAll()
-        {
-            //ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateAll.bat");
-            UpdateProject();
-            UpdateExcel();
-            UpdateArtRes();
-        }
-
-        [MenuItem("策划/其它/提交项目", false, (int)TOOL_MENU_PRIORITY.CommitGame)]
         static void CommitProject()
         {
             EditorUtility.DisplayProgressBar("进度", "正在提交项目", 1);
@@ -106,31 +82,6 @@ namespace GFGEditor
             EditorUtility.ClearProgressBar();
         }
 
-        [MenuItem("策划/其它/提交配置表", false, (int)TOOL_MENU_PRIORITY.CommitExcel)]
-        static void CommitExcel()
-        {
-            EditorUtility.DisplayProgressBar("进度", "正在提交表格", 1);
-            ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "commitExcel.bat");
-            EditorUtility.ClearProgressBar();
-        }
-
-        [MenuItem("策划/其它/提交美术资源", false, (int)TOOL_MENU_PRIORITY.CommitArtRes)]
-        static void CommitArtRes()
-        {
-            EditorUtility.DisplayProgressBar("进度", "正在提交美术资源", 1);
-            ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "commitArtRes.bat");
-            EditorUtility.ClearProgressBar();
-        }
-
-        [MenuItem("策划/其它/提交所有", false, (int)TOOL_MENU_PRIORITY.CommitAll)]
-        static void CommitAll()
-        {
-            //ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "commitALL.bat");
-            CommitExcel();
-            CommitArtRes();
-            CommitProject();
-        }
-
         [MenuItem("策划/其它/导入配置表", false, (int)TOOL_MENU_PRIORITY.ImportExcel)]
         public static void ImportExcel()
         {