Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't delete connection
#2
Hi
To avoid this issue, I suggest to follow another path, which is disconnecting the splines without destroying the connection. This way th connection game object will remain, but it will not connect the two splines.
To do so, iterate through the control points in yourConnection.ControlPointsList, and for each one of them call the yourControlPoint.Disconnect(false) method.
Please let me know if this worked out.
Have a nice day
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
Can't delete connection - by lacota - 03-14-2024, 05:56 PM
RE: Can't delete connection - by _Aka_ - 03-15-2024, 08:56 PM
RE: Can't delete connection - by lacota - 03-16-2024, 12:20 AM
RE: Can't delete connection - by _Aka_ - 03-16-2024, 11:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
Lightbulb Junction & Connection Navigation System Design SAMYTHEBIGJUICY 4 13 11-27-2023, 01:04 PM
Last Post: _Aka_
  Connection "next' control point jh092 3 15 11-22-2023, 11:47 AM
Last Post: _Aka_
  insecure connection refused schema 1 2 05-03-2023, 12:30 PM
Last Post: _Aka_

Forum Jump: