From 8445b9ee122ed1fbb4ad31f7e9da35406f7dc182 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期五, 21 十一月 2025 17:08:51 +0800
Subject: [PATCH] 262 幻境阁系统-客户端 邮件富文本支持

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

diff --git a/Main/Component/UI/Core/ButtonEx.cs b/Main/Component/UI/Core/ButtonEx.cs
index 87d4365..e6e423d 100644
--- a/Main/Component/UI/Core/ButtonEx.cs
+++ b/Main/Component/UI/Core/ButtonEx.cs
@@ -9,7 +9,7 @@
 
     public event Action ableTimeChangeEvent;
 
-    public float interval;
+    public float interval = 0.5f;
     public bool customPositiveSound = false;
     public bool customNegativeSound = false;
     public int positiveSound = 0;
@@ -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