From d7624d79ad896c1f6f40f625089f5b02c01b44a0 Mon Sep 17 00:00:00 2001 From: yangbear Date: Sun, 5 Jul 2026 02:32:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BlinkOutline=E5=85=88=E4=BA=AE0.4s?= =?UTF-8?q?=E5=86=8D=E9=97=AA=E7=83=81=E2=80=94ReEnableBorder=E4=B8=8D?= =?UTF-8?q?=E7=AB=8B=E5=8D=B3=E8=A2=ABtoggle=E5=85=B3=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Interaction/PingClickHandler.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Interaction/PingClickHandler.cs b/Assets/Scripts/Interaction/PingClickHandler.cs index df1ea77..ea4e3bf 100644 --- a/Assets/Scripts/Interaction/PingClickHandler.cs +++ b/Assets/Scripts/Interaction/PingClickHandler.cs @@ -76,12 +76,19 @@ public class PingClickHandler : MonoBehaviour System.Collections.IEnumerator BlinkOutline() { + if (_outlineRenderer != null) _outlineRenderer.enabled = true; + yield return new WaitForSeconds(0.4f); while (true) { - if (_outlineRenderer != null) _outlineRenderer.enabled = !_outlineRenderer.enabled; + if (_outlineRenderer != null) + _outlineRenderer.enabled = !_outlineRenderer.enabled; yield return new WaitForSeconds(0.4f); } } + { + if (_outlineRenderer != null) _outlineRenderer.enabled = true; + yield return new WaitForSeconds(0.4f); + void OnMouseDown() {