public static void TestBuildAllAsset() { Debug.Log("开始打包"); AssetDatabase.SaveAssets(); AssetBundleBuild[] buildMap = GetBuildFileListNew(buildRootPath); FilePathTools.createFolder(exportPath); BuildPipeline.BuildAssetBundles(exportPath, buildMap, BuildAssetBundleOptions.DeterministicAssetBundle, buildTarget); Debug.Log("打包完毕"); }
public static void buildAllAsset() { AssetBundleBuild[] buildMap = getBuildFileList(buildRootPath); FilePathTools.createFolder(exportPath); BuildPipeline.BuildAssetBundles(exportPath, buildMap, BuildAssetBundleOptions.DeterministicAssetBundle, buildTarget); }