提交修改

This commit is contained in:
2026-04-06 11:52:41 +08:00
parent ae3002a0e2
commit bfebce8827
7 changed files with 244 additions and 329 deletions

View File

@@ -26,12 +26,12 @@ namespace NBF
/// <summary>
/// 主线
/// </summary>
[SerializeField] private Rope fishingRope;
[SerializeField] private RopeBase fishingRope;
/// <summary>
/// 浮漂和鱼钩线
/// </summary>
[SerializeField] private Rope bobberRope;
[SerializeField] private RopeBase bobberRope;
public LureController Lure;
public BobberController Bobber;
@@ -129,13 +129,13 @@ namespace NBF
// value -= 0.2f;
}
fishingRope.SetTargetLength(value);
fishingRope.SetLineLength(value);
}
public void SetLureLength(float value)
{
Log.Error($"SetObiRopeStretch={value}");
bobberRope.SetTargetLength(value);
bobberRope.SetLineLength(value);
}