Custom ScriptableWizard in Unity

When I was approaching making “Replace Tool for Level Designers” I encounter ScriptableWizard. I didn’t know that such a thing existed in Unity! ?

It got me curious as I was planning to make that tool using regular Custom Editor Window, but all of a sudden, there was space to try something new! Unfortunately, I didn’t use ScriptableWizard as it wasn’t suited for what I wanted.

But I think it’s time to revisit it and learn more about it!

Continue reading “Custom ScriptableWizard in Unity”

Understanding OnTrigger methods in Unity

Let’s talk about OnTrigger methods in Unity! Do you know when they are invoked or for what you can use them? Let’s see in this post! ?

In one of the recent posts, we spoke about OnCollision methods and the fact that Unity has two separate physics engines.

Of course, like with collisions, there are different trigger methods for the 2D and the 3D engines. For 3D there are OnTriggerEnter(), OnTriggerStay() and OnTriggerExit() methods. For 2D there are almost the same OnTriggerEnter2D(), OnTriggerStay2D() and OnTriggerExit2D() methods.

Continue reading “Understanding OnTrigger methods in Unity”

Asset Preview Grid for Unity

Some time ago, I was a little bit irritated that after I received a new package of 3D models, I had to place them manually on the scene to preview them. So why don’t we build a little script that will do it for us? ?

I’m a lazy guy, and I always try to find a way that will make my life easier. After I get a few packages, I decided that I don’t want to move them manually anymore! It was horrible, and I needed to find a medicine for my pain. ?

Luckily, having programming skills is priceless in game development. So it was time to build a simple but relieving solution. ?‍?

Continue reading “Asset Preview Grid for Unity”