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("应该高亮???"); + } }