From 93607ad62a3d40b7a17cc1595a4ed8f6415df945 Mon Sep 17 00:00:00 2001 From: huanghanzhi Date: Wed, 22 Jun 2022 15:50:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B=E6=89=93=E5=8C=85=E6=89=A7=E8=A1=8C=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E5=90=8E=E8=87=AA=E5=8A=A8=E6=98=BE=E7=A4=BABundle=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs index fc408d1..54c325f 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs @@ -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}"); + } } // 加密类相关