From 685cfbc80932ec877097f68ef43b521072038f07 Mon Sep 17 00:00:00 2001 From: BobSong <605277374@qq.com> Date: Sun, 22 Mar 2026 21:35:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Fishing/New/Data/Item/PlayerItem.cs | 2 +- Assets/Scripts/Test/New/BobberPresentationController.cs | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Fishing/New/Data/Item/PlayerItem.cs b/Assets/Scripts/Fishing/New/Data/Item/PlayerItem.cs index 35c2aefd6..b7cfc3c3d 100644 --- a/Assets/Scripts/Fishing/New/Data/Item/PlayerItem.cs +++ b/Assets/Scripts/Fishing/New/Data/Item/PlayerItem.cs @@ -55,7 +55,7 @@ namespace NBF } } - private float _floatLength = 0.3f; + private float _floatLength = 0.7f; /// /// 浮漂线长度 diff --git a/Assets/Scripts/Test/New/BobberPresentationController.cs b/Assets/Scripts/Test/New/BobberPresentationController.cs index ffdfb7ec5..1a8be5494 100644 --- a/Assets/Scripts/Test/New/BobberPresentationController.cs +++ b/Assets/Scripts/Test/New/BobberPresentationController.cs @@ -95,6 +95,9 @@ public class BobberPresentationController : MonoBehaviour [Tooltip("触底后减少的下沉量(例如铅坠到底,漂会回升一点)")] public float bottomTouchLift = 0.01f; + [Header("Debug Input")] [Tooltip("调试:按 R 恢复默认")] + + public bool debugResetKey = true; [Header("Debug Input")] [Tooltip("调试:按 T 触发轻点")] public bool debugTapKey = true; @@ -529,6 +532,11 @@ public class BobberPresentationController : MonoBehaviour if (!Application.isPlaying) return; + if (debugResetKey && Input.GetKeyDown(KeyCode.R)) + { + StopBite(); + } + if (debugTapKey && Input.GetKeyDown(KeyCode.T)) PlayTap();