移除废弃内容

This commit is contained in:
2026-02-21 23:32:12 +08:00
parent d953ea4b7a
commit 54c8439024
61 changed files with 11 additions and 6666 deletions

View File

@@ -1,4 +1,5 @@
using NBF;
using NBC;
using NBF;
using Obi;
using UnityEngine;
@@ -27,8 +28,13 @@ public class Rope : MonoBehaviour
public void LineLength_OnValueChanged(float length)
{
cursor = cursor == null ? GetComponent<ObiRopeCursor>() : cursor;
var old = stretchScale;
stretchScale = Mathf.Clamp(length - percentageElasticity, 0f, float.PositiveInfinity);
// cursor.ChangeLength(length);
if (stretchScale != old)
{
Log.Info($"rope name={gameObject.name} stretchScale={stretchScale}");
}
}
private void Update()