From 6e55b6042adcab2ae50a2c8f23baf8dbfd6ff2b9 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 13 十一月 2025 12:23:14 +0800
Subject: [PATCH] 319 子 【付费内容】商城 / 【付费内容】商城-客户端
---
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