private AssetBundleCompressor() { _instance = this; nOfFile = 0; progress = 0; BundlePath = AssetBundlePath.BundlePath; ZipPath = AssetBundlePath.SVNPath; }
static void DecomporessAssetBundle() { AssetBundleCompressor.Decompress("AssetBundles/test_raw_ios.unity3d_c_nz", "AssetBundles/test_raw_ios.unity3d_d_nz"); AssetBundleCompressor.Decompress("AssetBundles/test_raw_ios.unity3d_c_zi", "AssetBundles/test_raw_ios.unity3d_d_zi"); AssetBundleCompressor.Decompress("AssetBundles/test_raw_ios.unity3d_c_zl", "AssetBundles/test_raw_ios.unity3d_d_zl"); }
public void Delete() { _instance = null; }
static void CompressAssetBundle() { AssetBundleCompressor.Compress("AssetBundles/test_raw_ios.unity3d", _assetNames, "AssetBundles/test_raw_ios.unity3d_c_nz", AssetBundleCompressor.CompressMode.Raw); AssetBundleCompressor.Compress("AssetBundles/test_raw_ios.unity3d", _assetNames, "AssetBundles/test_raw_ios.unity3d_c_zi", AssetBundleCompressor.CompressMode.Deflate); AssetBundleCompressor.Compress("AssetBundles/test_raw_ios.unity3d", _assetNames, "AssetBundles/test_raw_ios.unity3d_c_zl", AssetBundleCompressor.CompressMode.LZMA); }