From c0e6cb2a0ce840bd594d05c7e2cf0a185c312fa0 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 20 十一月 2025 21:27:48 +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