提交修改

This commit is contained in:
2026-01-24 18:14:07 +08:00
parent d60b255a64
commit 18f263e687
22 changed files with 2505 additions and 13558 deletions

View File

@@ -37,7 +37,7 @@ public class Rope : MonoBehaviour
public void LineLength_OnValueChanged(float length)
{
cursor = ((cursor == null) ? GetComponent<ObiRopeCursor>() : cursor);
cursor = cursor == null ? GetComponent<ObiRopeCursor>() : cursor;
stretchScale = Mathf.Clamp(length - percentageElasticity, 0f, float.PositiveInfinity);
}

View File

@@ -57,8 +57,16 @@ namespace NBF
});
StartCoroutine(test());
fishingRope.Init(Rod);
bobberRope.Init(Rod);
if (isLureConnect)
{
fishingRope.Init(Rod);
}
else
{
fishingRope.Init(Rod);
bobberRope.Init(Rod);
}
// rodLine.GenerateLineRendererRope(guides.ToArray(), _LineThickness);
}