From b6cf68a2c11c182a6962f5e90781e9e45a565c23 Mon Sep 17 00:00:00 2001 From: Lihao7788 <2470304407@qq.com> Date: Tue, 8 Apr 2025 20:39:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/HighlightPlus/Runtime/Scripts/HighlightTrigger.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Assets/HighlightPlus/Runtime/Scripts/HighlightTrigger.cs b/Assets/HighlightPlus/Runtime/Scripts/HighlightTrigger.cs index 245a6bd0..224ac2d0 100644 --- a/Assets/HighlightPlus/Runtime/Scripts/HighlightTrigger.cs +++ b/Assets/HighlightPlus/Runtime/Scripts/HighlightTrigger.cs @@ -292,10 +292,9 @@ namespace HighlightPlus { void OnMouseDown() { - Debug.Log("OnMouseDown111"); if (isActiveAndEnabled && triggerMode == TriggerMode.ColliderEventsOnlyOnThisObject) { if (!CanInteract()) { - Debug.Log("OnMouseDown000"); + return; } if (selectOnClick && InputProxy.GetMouseButtonDown(0)) { @@ -303,7 +302,7 @@ namespace HighlightPlus { return; } Highlight(true); - Debug.Log("OnMouseDown222"); + } } @@ -313,7 +312,7 @@ namespace HighlightPlus { if (!CanInteract()) return; hb.outline = 1; Highlight(true); - Debug.Log("应该高亮???"); + } }