提交修改
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user