Example #1
0
    //[MenuItem("版本发布/拷贝AssetBundle到StreamingAssets目录")]

    /*public static void CopyAssets()
     * {
     *  FullVersionResource.CopyAssets();
     * }*/

    // 整包版本。
    public static void CreateFullVersion(string pathPlatform = "", string pathPackage = "", bool development = false, bool autoConnectProfiler = false, bool isApk = true)
    {
        /*FullVersionResource.CopyAssets();
         * if (ConstantData.EnablePatch) {
         *  FullVersionResource.InitPatch();
         * }*/
        FullVersionResource.Build(pathPlatform, pathPackage, development, autoConnectProfiler, isApk);
        IGGDebug.Log(PlayerSettings.productName + "游戏发布完成");
        OpenApp();
    }
Example #2
0
 // 整包版本。
 public static void CreateFullVersion(string pathPlatform = "", string pathPackage = "", bool development = false, bool autoConnectProfiler = false, bool isBattleDebug = false, bool isApk = true)
 {
     FullVersionResource.CopyAssets();
     if (ConfigDataHelper.EnablePatch)
     {
         FullVersionResource.InitPatch();
     }
     FullVersionResource.Build(pathPlatform, pathPackage, development, autoConnectProfiler, isBattleDebug, isApk);
     UnityEngine.Debug.Log(PlayerSettings.productName + "游戏发布完成");
 }