Yes! I finally got it! So now I can be proud of being in the book! 😎
The book that I’m speaking about is Global Game Jam Stories.
Back in 2017, I’ve heard an announcement about collecting stories and pictures from Global Game Jams all over the world. I couldn’t miss that opportunity to share my story with the rest of the globe. 🔥
My story and stories of other people were published in the book Global Game Jam Stories.
Continue reading “Global Game Jam Stories and Me”
You can find there a collection of many exciting and uplifting stories related to the Global Game Jam and its participants, and it was made to celebrate GGJ turning 10 years old! 🥳
We are spoiled by Unity with that whole “write once, run everywhere” thing. But what if we want to run different code on different platforms? Conditional compilation will come very handy here, or like Unity like to put it Platform Depended Compilation. 😅
Wait, what’s that?
Great question! Conditional compilation is basically a way to tell the compiler to run code only if compiling condition is met.
Wait a moment. This sounds a lot of like a regular if-statement! What’s the catch?
Continue reading “Conditional Compilation 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”
Continuing subject of building tools in Unity, today we are going to build custom window in Unity Editor. If you’ve missed the last post about building a custom component inspector, I would recommend checking it first. 🤓
To build custom tools in Unity, we have to prepare a custom window in Editor. We can achieve that by using the EditorWindow class.
Like with a custom inspector for components, and here we have to use the old GUI system. There is just one difference between building inspector and window. In inspector, we were using OnInspectorGUI() method and we could use DrawDefaultInspector() to draw component’s properties. In the window, we don’t have such luxury, but we have OnGUI() which works in the same way.
Continue reading “Custom Window in Unity”
Building a big project within a small team often requires building some shortcuts. One of them could be a custom inspector. Let’s find out how to make them in Unity!
Building a custom inspector is easy in Unity. You need to follow this 200-step instru… No, just kidding. 😜
But in actual fact, it’s very easy!
The only thing that you need to do is to create an editor script for the component that you want to customize. And besides that, you also need to understand how Unity’s old GUI system works.
Continue reading “Custom Inspector in Unity”