static void BuildGameApp() { //清空原先的streamasset目录 if (Directory.Exists(AssetsPath)) { Directory.Delete(AssetsPath, true); } //清空版本文件 if (Directory.Exists(_versionFilesPath)) { Directory.Delete(_versionFilesPath, true); } //打包assetbundle AssetBundleBuilder.BuildAssetBundle(); //生成版本文件 GenerateVersionFiles(); }
static void BuildAllBundle() { AssetBundleBuilder.BuildAssetBundle(); }