Over the course of this project, my scripting has gotten steadily more and more complex. Initially, it was just getting the part placement working correctly, by having the mouse click interpreted as a grid reference.
Now, it is far more complex. No less than five scripts, working together, are required to make the project run smoothly. And that isn’t because of shoddy coding – it’s just how Unity works.
But enough about that! My current, up-to-date scripts can be found here, under the master directory.