From 485db99b5c51a971c173664cf6e808dc8424b0a0 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期五, 17 十月 2025 17:19:51 +0800
Subject: [PATCH] 136 子 【挑战】战锤秘境 / 【挑战】战锤秘境-客户端 移除错误接入
---
Main/Component/UI/Common/ClickScreenOtherSpace.cs | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/Main/Component/UI/Common/ClickScreenOtherSpace.cs b/Main/Component/UI/Common/ClickScreenOtherSpace.cs
index a0a701a..62bb4c0 100644
--- a/Main/Component/UI/Common/ClickScreenOtherSpace.cs
+++ b/Main/Component/UI/Common/ClickScreenOtherSpace.cs
@@ -46,20 +46,26 @@
case RespondType.In:
if (RectTransformUtility.RectangleContainsScreenPoint(this.transform as RectTransform, sp, CameraManager.uiCamera))
{
- m_ClickOtherEvent?.Invoke();
this.SetActive(!m_DeActiveSelf);
+ m_ClickOtherEvent?.Invoke();
}
break;
case RespondType.Out:
if (!RectTransformUtility.RectangleContainsScreenPoint(this.transform as RectTransform, sp, CameraManager.uiCamera))
{
- m_ClickOtherEvent?.Invoke();
this.SetActive(!m_DeActiveSelf);
+ m_ClickOtherEvent?.Invoke();
}
break;
+ }
+ }
+ else if (Input.GetMouseButtonUp(0))
+ {
+ switch (m_RespondType)
+ {
case RespondType.InOut:
- m_ClickOtherEvent?.Invoke();
this.SetActive(!m_DeActiveSelf);
+ m_ClickOtherEvent?.Invoke();
break;
}
}
--
Gitblit v1.8.0