[fix] CompileDll后主动关闭进度条,临时解决Unity 2022版本Editor的bug
parent
7d58454fdd
commit
10684d29cd
|
@ -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!!!");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue