protected void Reset() { Spline = CreateSpline(); foreach (var point in transform.Cast <Transform>().Select(t => t.localPosition)) { Spline.AddPoint(point); } }