From 170e8516ae6d6082b94a762e06c491fddfe7fd0f Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 05 十一月 2025 16:47:27 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 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