Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom connection controller help
#7
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.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
Custom connection controller help - by dazz777 - 11-19-2018, 02:02 PM
RE: Custom connection controller help - by _Aka_ - 11-19-2018, 02:12 PM
RE: Custom connection controller help - by _Aka_ - 11-21-2018, 10:11 AM
RE: Custom connection controller help - by _Aka_ - 11-21-2018, 11:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Set Volume to the Volume Controller at Runtime pako88 2 10 04-08-2024, 03:26 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
Thumbs Up Can't delete connection lacota 3 6 03-16-2024, 11:34 AM
Last Post: _Aka_
Question How to attach custom components to output Sacryn 3 7 02-23-2024, 09:42 AM
Last Post: _Aka_

Forum Jump: