From a603ad928f625813259328599395a3fddb700510 Mon Sep 17 00:00:00 2001 From: Ding Yuntian <1491671119@qq.com> Date: Thu, 2 Jul 2026 14:52:51 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ui):=20=E7=A7=BB=E9=99=A4=20BoolButton?= =?UTF-8?q?=20=E6=9C=AC=E5=9C=B0=E5=8C=96=E6=96=87=E6=9C=AC=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/UI/Components/BoolButton.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Assets/Scripts/UI/Components/BoolButton.cs b/Assets/Scripts/UI/Components/BoolButton.cs index 4f49e921a..1697781ec 100644 --- a/Assets/Scripts/UI/Components/BoolButton.cs +++ b/Assets/Scripts/UI/Components/BoolButton.cs @@ -11,7 +11,6 @@ namespace AibisDream public class BoolButton : MonoBehaviour { private Image _buttonImage; - private LocalizeStringEvent _stringEvent; private Button _button; public BoolButtonData data; public Func getBool; @@ -27,7 +26,6 @@ namespace AibisDream public void Awake() { - _stringEvent = GetComponentInChildren(); _buttonImage = GetComponentInChildren(); // 监听按钮点击 _button = GetComponent