gdl_123 пре 4 месеци
родитељ
комит
aba1ed0435
1 измењених фајлова са 9 додато и 0 уклоњено
  1. 9 0
      Assets/Editor/AssetBundle/CheckHotUpdateRes.cs

+ 9 - 0
Assets/Editor/AssetBundle/CheckHotUpdateRes.cs

@@ -36,6 +36,15 @@ public class CheckHotUpdateRes : EditorWindow
         }
     }
 
+    [MenuItem("AssetBundle/创建最大Version")]
+    public static void CreateVersion()
+    {
+#if UNITY_IOS
+        FileHelper.WirteStringToFile(Application.dataPath+ "/StreamingAssets/unityRes/afivs", "99.99.99.99");
+#else
+        FileHelper.WirteStringToFile(Application.dataPath + "/StreamingAssets/AssetsAndroid/Version", "99.99.99.99");
+#endif
+    }
 
     [MenuItem("AssetBundle/热更相关")]
     public static void OpenCheckHotUpdateWindow()