From fa27fcddf47bf4ef847af3fce78c055cb334682f Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 16 十月 2025 17:09:01 +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