编辑器模式下打包执行成功后自动显示Bundle文件夹
parent
3cbf891674
commit
93607ad62a
|
@ -182,7 +182,12 @@ namespace YooAsset.Editor
|
|||
buildParameters.CompressOption = (ECompressOption)_compressionField.value;
|
||||
|
||||
AssetBundleBuilder builder = new AssetBundleBuilder();
|
||||
builder.Run(buildParameters);
|
||||
bool succeed = builder.Run(buildParameters);
|
||||
|
||||
if (succeed)
|
||||
{
|
||||
EditorUtility.RevealInFinder($"{buildParameters.OutputRoot}/{buildParameters.BuildTarget}/{buildParameters.BuildVersion}");
|
||||
}
|
||||
}
|
||||
|
||||
// 加密类相关
|
||||
|
|
Loading…
Reference in New Issue