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”

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”

Creating Replace Tool in Unity for Level Designers

Do you wish you could make a level with simple cubes and later replace them all with some other object with one click? This is what we are going to create today!

A long time ago, I created posts about the basics of creating extensions for the editor. I’m not going to cover that topic here, so go ahead and check the post about creating custom editor windows. ?

This post will cover creating tool window, gathering of selected objects on the scene, and using Unity’s Undo class. ?‍?

Continue reading “Creating Replace Tool in Unity for Level Designers”

Extension Methods in Unity

Today we are going to learn something entirely new! Extension Methods!
Sometimes as you are developing a game, you have this idea in your mind that you wish you could add some more functionality to Unity Components.
With extension methods, you can do that! ?

But how do they work?

Extension methods are mostly used when you have existing classes, but you can’t edit them, just like in Unity. With them, we can add more functions that will make our lives easier.

Continue reading “Extension Methods in Unity”