Is it possible to set individual EdgeCollider2D points, without replacing the entire array?

Creating a Vector2 array and then assigning it works, as follows:

collider.points = newVector2Array;

However changing just one of those points doesn’t seem to work, for example:

collider.points[0] = new Vector2(5, 10);

The code compiles fine and runs, but the edge collider points array remains unchanged.

Is there any way to do this, or do you have to replace the entire array each time?


collider.points = collider.points should retrigger internal update while keeping the new array unmodified