增加线测试代码

This commit is contained in:
2026-03-05 23:54:32 +08:00
parent e82f2ea6b7
commit 06146e3d07
3 changed files with 23 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ public class RopeFishLineEditor : Editor
if (GUILayout.Button("打印总长度"))
{
Debug.Log($"总长度={_target.GetCurrentLength()} 目标长度={_target.GetTargetLength()}");
Debug.Log($"总长度={_target.GetCurrentLength()} 目标长度={_target.GetTargetLength()} smoot={_target.GetLengthSmoothVel()} relLen={_target.GetLengthByPoints()}");
}
// serializedObject.Update();
// EditorGUILayout.PropertyField(lookAtPoint);