11-21-2018, 11:26 AM
No worries for the questions:
Splines (class name CurvySpline) and control points (class name CurvySplineSegment) are all inheriting from MonoBehaviour, so as any MonoBehavioue, you can call the gameobject property on them to get the GameObject the MonoBehaviour is attached to.
ControlPointsList is a list of control points. So if you retrieve a control point from the list, let's say ControlPointsList[0], you can then call gameObject.name to get it's name.
And keep in mind that CurvySplineSegment has a Spline property to get the spline it is part of.
Splines (class name CurvySpline) and control points (class name CurvySplineSegment) are all inheriting from MonoBehaviour, so as any MonoBehavioue, you can call the gameobject property on them to get the GameObject the MonoBehaviour is attached to.
ControlPointsList is a list of control points. So if you retrieve a control point from the list, let's say ControlPointsList[0], you can then call gameObject.name to get it's name.
And keep in mind that CurvySplineSegment has a Spline property to get the spline it is part of.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Please consider leaving a review for Curvy, this helps immensely. Thank you.

