Event Changed
Invoked any time a spline is modified.
Namespace: UnityEngine.Splines
Assembly: solution.dll
Syntax
public static event Action<Spline, int, SplineModification> Changed
Returns
Type | Description |
---|---|
Action<Spline, int, SplineModification> |
Remarks
First parameter is the target Spline that the event is raised for, second parameter is the knot index and the third parameter represents the type of change that occurred. If the event does not target a specific knot, the second parameter will have the value of -1.
In the editor this callback can be invoked many times per-frame. Prefer to use AfterSplineWasModified when working with splines in the editor.