From 61fefda5907def0570dbaace58e035eb66f65913 Mon Sep 17 00:00:00 2001 From: lishuo Date: Wed, 12 Jan 2022 16:45:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Scenes/Ride/Scripts/BaseUIManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Scenes/Ride/Scripts/BaseUIManager.cs b/Assets/Scripts/Scenes/Ride/Scripts/BaseUIManager.cs index f0c15b3d..bcbf87d4 100644 --- a/Assets/Scripts/Scenes/Ride/Scripts/BaseUIManager.cs +++ b/Assets/Scripts/Scenes/Ride/Scripts/BaseUIManager.cs @@ -534,7 +534,7 @@ namespace Assets.Scenes.Ride.Scripts //结束游戏 protected virtual void StopRide(BaseEventData baseEventData) { - if (playerController?.TotalTicks > 0 && playerController ?.TotalDistance > 0.5f) + if (playerController?.TotalTicks > 0 && playerController ?.TotalDistance > 0.1f) { quitPanel.SetActive(true); quitPanel.transform.SetAsLastSibling();