//private Spline spline; //private Keyframe[] curveKeys; void OnEnable() { ropeRenderer = target as RopeRenderer; //spline = ropeRenderer.GetComponent<Spline>(); }