From bfa20b35bbe0407a93a0eb96d53463413d61504c Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 31 十月 2025 16:13:19 +0800
Subject: [PATCH] 125 战斗 误传的断点

---
 Main/Component/UI/Core/ButtonEx.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Main/Component/UI/Core/ButtonEx.cs b/Main/Component/UI/Core/ButtonEx.cs
index 87d4365..7342ebf 100644
--- a/Main/Component/UI/Core/ButtonEx.cs
+++ b/Main/Component/UI/Core/ButtonEx.cs
@@ -52,6 +52,10 @@
 
     public override void OnPointerDown(PointerEventData eventData)
     {
+        if (this.interactable == false)
+        {
+            return;
+        }
         base.OnPointerDown(eventData);
         transform.localScale = originalScale * pressedScale;
     }

--
Gitblit v1.8.0