This commit is contained in:
lishuo 2022-01-12 16:45:13 +08:00
parent f7450f0067
commit 61fefda590

View File

@ -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();