Hi,
trying to get into making proper tools for unity that I can reuse.
I’m currently trying to make a scriptablewizard that will make 2d polygons, basically walk areas or spawn areas or whatever, simple enough, however, I might be doing it wrong, I think scriptablewizards seems to be the way to go but possibly not.
My issue is that I want to press the button then have a function run that populates a list of vector2’s by mouse click, so where ever you click it gets the position of the mouse then adds it to the list, it will do a check and if you click on close to the original position it will finish waiting for input and return the list and create an empty object with my polygon class on it and assign the polygons the points as vertices.
however this has proven difficult to do with scriptablewizards, am I doing this completely wrong?
Thanks in advance!