//命令行构建替换资源 static void CommandLineBuildRebunldeAsset() { List <KeyValue> commandLineArgs = GetCommandLineVariables(); BuildTarget buildTarget = WrapBuildTarget(GetKeyToValue(commandLineArgs, "target")); string outPath = GetKeyToValue(commandLineArgs, "out_dir"); BUILD_LOG("start to building rebundle:" + outPath); AssetsBuilderTools.BuildReviewRebundleAssetTo(outPath, buildTarget); BUILD_LOG("rebundle build over"); }
public static void BuildReviewRebundleAsset() { string outDir = UnityFrame.GlobalPath.AssetBasesPath + "ReviewAssets/Bundle"; AssetsBuilderTools.BuildReviewRebundleAssetTo(outDir, TargetPlat); }