修改鱼线相关逻辑
This commit is contained in:
@@ -7,7 +7,9 @@ namespace NBF
|
||||
protected override void OnInit()
|
||||
{
|
||||
// transform.position = Rod.lineHandler.LineConnector_1.transform.position;
|
||||
SetParent(Rod.Line.Bobber.transform);
|
||||
|
||||
var node = Rod.Line.GetLogicalNode(FishingLineNode.NodeType.Float);
|
||||
SetParent(node.transform);
|
||||
transform.localPosition = Vector3.zero;
|
||||
// var buoyancy = GetComponentInParent<CapsuleBuoyancyStable>();
|
||||
// buoyancy.InitBobber();
|
||||
|
||||
Reference in New Issue
Block a user