using UnityEngine; namespace NBF { public abstract class RopeBase : MonoBehaviour, IRope { [Header("Anchors")] [SerializeField] public Rigidbody startAnchor; [SerializeField] public Rigidbody endAnchor; public float CurrentLength { get; protected set; } public void SetLineLength(float length) { CurrentLength = length; } protected virtual void OnSetLineLength(float length) { } } }