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