Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnAfterControlPointAdded - Control Point is null
#3
Hi and thank you for the very fast reply and code sample.

I will try and get something for you, but in my code I am creating the spline dynamically and adding the control points dynamically. As soon as the spline is created I add a listener like so:

Code:
spline.OnAfterControlPointAdd.AddListener(OnAfterControlPointAdd);

Here is a live inspection at runtime of the args, ControlPoint is null every time.

[Image: 29st6w3h]

Thank you for looking, this is not a high priority.

John
Reply


Messages In This Thread
RE: OnAfterControlPointAdded - Control Point is null - by jh092 - 02-01-2025, 07:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Control Point Interpolation Overrides. rickgplus 1 523 12-11-2025, 08:52 AM
Last Post: _Aka_
  12_Train junction point richardzzzarnold 5 3,406 04-16-2025, 02:19 PM
Last Post: _Aka_
  Null Reference Exception rickgplus 1 1,438 03-01-2025, 02:09 PM
Last Post: _Aka_
  How to generate gameobject on the control point Yang Yi 1 1,605 12-10-2024, 10:14 PM
Last Post: _Aka_

Forum Jump: