From cfb4ff96c4e8dcc990c9a4444950c721db2ec642 Mon Sep 17 00:00:00 2001 From: bottlefish <781230111@qq.com> Date: Thu, 16 Jul 2026 18:40:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E4=BF=AE=E5=A4=8D=E5=9C=BA=E6=99=AF?= =?UTF-8?q?=E5=8D=B8=E8=BD=BD=E5=90=8E=E9=80=8F=E6=98=8E=E9=81=AE=E7=BD=A9?= =?UTF-8?q?=E9=98=BB=E5=A1=9E=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/UI/Panel/PlayToolPanel.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/UI/Panel/PlayToolPanel.cs b/Assets/Scripts/UI/Panel/PlayToolPanel.cs index ae9383823..8b2077f24 100644 --- a/Assets/Scripts/UI/Panel/PlayToolPanel.cs +++ b/Assets/Scripts/UI/Panel/PlayToolPanel.cs @@ -246,8 +246,15 @@ namespace AibisDream.UI { _timeFlowsVersion++; - _fullScreenImage.FadeOut(0.1f); - _showObjImage.FadeOut(0.1f); + // SceneLoader unloads scenes with DOTween.KillAll(). Do not rely on a + // tween completion callback to deactivate these raycast targets: if + // that tween is killed, an invisible full-screen image blocks the UI. + _fullScreenImage.DOKill(); + _fullScreenImage.color = Color.clear; + _fullScreenImage.gameObject.SetActive(false); + + _showObjImage.DOKill(); + _showObjImage.color = Color.clear; _showObjPanel.SetActive(false); _timeTurner.ForceStop(); @@ -299,4 +306,4 @@ namespace AibisDream.UI yield return new WaitUntil(() => !_warningWindow.gameObject.activeSelf); } } -} \ No newline at end of file +}