From 10684d29cddf2e50d37f578749fb031e2441b437 Mon Sep 17 00:00:00 2001 From: walon Date: Tue, 6 Jun 2023 11:28:27 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20CompileDll=E5=90=8E=E4=B8=BB=E5=8A=A8?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E8=BF=9B=E5=BA=A6=E6=9D=A1=EF=BC=8C=E4=B8=B4?= =?UTF-8?q?=E6=97=B6=E8=A7=A3=E5=86=B3Unity=202022=E7=89=88=E6=9C=ACEditor?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Commands/CompileDllCommand.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Editor/Commands/CompileDllCommand.cs b/Editor/Commands/CompileDllCommand.cs index 162ce10..2857659 100644 --- a/Editor/Commands/CompileDllCommand.cs +++ b/Editor/Commands/CompileDllCommand.cs @@ -25,10 +25,9 @@ namespace HybridCLR.Editor.Commands } Directory.CreateDirectory(buildDir); ScriptCompilationResult scriptCompilationResult = PlayerBuildInterface.CompilePlayerScripts(scriptCompilationSettings, buildDir); - foreach (var ass in scriptCompilationResult.assemblies) - { - //Debug.LogFormat("compile assemblies:{1}/{0}", ass, buildDir); - } +#if UNITY_2022 + UnityEditor.EditorUtility.ClearProgressBar(); +#endif Debug.Log("compile finish!!!"); }