From 3b2a6bb9047cfce9f501593b3669a9c1af6c5df4 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期三, 05 十一月 2025 17:40:23 +0800
Subject: [PATCH] 130 战斗修改回合样式
---
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