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