Hello
I am writing a small script to edit polylines. It is already working, using the inspector to add points, and the specific position where points will be.
I would like to make this more versatile, making the user able to drag the line in the scene view.
I was able to draw gizmos on all the points, with a OnDrawGizmos method. But I am not sure how to detect if a gizmo gets selected (it seems they can’t) and if it is dragged (and in the end, what is its new position).
Probably I am doing all this wrong
Advices are welcome.
Cheers.