Search Instagram Twitter Facebook Spotify Grid Tag Date Folder Chat Pencil

First Day of Unity Tools Programming

Long day of diving into Unity editor scripting. Not as productive as I would have liked, but finally getting somewhere by the end.

It’s been so long since I’ve had a whole day where I just focused on coding.

While I don’t particularly enjoy programming, it felt great to get back into that mindset again.

The mix of constant frustration and the joy/relief when you finally get something working.

Ah….

So basically, I’m trying to write a tool that will let me make these lines easily:

ManifoldGarden_Tools1

At the moment, each line is made up a bunch of segments that I place individually, and it is a massive pain in the butt.

I’m going to be making a lot of these lines, so it’s best I main the process as painless as possible.

Lots of weird things about editor scripts in Unity, like the scene view not updating until I click on the inspector (uggghhh!)

I managed to get the blue lines to follow my cursor around in the scene view:

ManifoldGarden_Tools2

Eventually, I got a asset from the asset store that does mesh painting. It’s not exactly what I need, but it has a feature that would be really useful.

I’m starting to go through the code to extract to relevant stuff I need, and then will build the tool from there.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.