From 06d85d64602c13abacba7b6274691dff0dad4d6f Mon Sep 17 00:00:00 2001 From: Ding Yuntian <1491671119@qq.com> Date: Wed, 15 Jul 2026 16:52:08 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ui):=20=E7=A7=BB=E9=99=A4=20InfoPanel?= =?UTF-8?q?=20=E7=9A=84=20I=20=E9=94=AE=E5=8F=98=E9=87=8F=E6=A0=8F?= =?UTF-8?q?=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除 Update 中通过 I 键切换 variableBar 显隐的调试代码, 避免与现有输入冲突并保持面板职责单一。 --- Assets/Scripts/UI/Panel/InfoPanel.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Assets/Scripts/UI/Panel/InfoPanel.cs b/Assets/Scripts/UI/Panel/InfoPanel.cs index f9b84d747..d73a02323 100644 --- a/Assets/Scripts/UI/Panel/InfoPanel.cs +++ b/Assets/Scripts/UI/Panel/InfoPanel.cs @@ -19,14 +19,6 @@ namespace AibisDream.UI demoTimer.totalTimeInSeconds = time; } - private void Update() - { - if (Input.GetKeyDown(KeyCode.I)) - { - variableBar.gameObject.SetActive(!variableBar.gameObject.activeSelf); - } - } - public void Show() { gameObject.SetActive(true);