05-06-2016, 08:34 PM
It seems that the CurvySpline clears mSegments in OnEnable() so the Count property returns 0. I'm not really familiar with the innards of CurvySpline.cs, but it seems like it ought to call its Refresh() method immediately after? Being able to get points on a spline reliably on first frame without messing with Script Execution Order seems reasonable.
For now, I'm manually calling refresh from my class if Count == 0.
For now, I'm manually calling refresh from my class if Count == 0.