16 lines
449 B
C#
16 lines
449 B
C#
using UnityEngine;
|
|
|
|
namespace NBF
|
|
{
|
|
public class FBobber : FGearBase
|
|
{
|
|
protected override void OnInit()
|
|
{
|
|
// transform.position = Rod.lineHandler.LineConnector_1.transform.position;
|
|
SetParent(Rod.Line.Bobber.transform);
|
|
transform.localPosition = Vector3.zero;
|
|
var buoyancy = GetComponentInParent<CapsuleBuoyancyStable>();
|
|
buoyancy.InitBobber();
|
|
}
|
|
}
|
|
} |