Image for post
Image for post

In this post we will learn how to create custom inspector editors for different components (our MonoBehaviour and ScriptableObject). You can tell Unity Editor how exactly you want the Inspector UI for your components to look like.

This article is part of a series in which I explain all the techniques for extending the Unity Editor. See the overview post here.

Prerequisite: You need to know C# programming and be familiar with Unity Editor to benefit most from this post. …


Image for post
Image for post

As I created a new repository on github and wanted to pull the remote branch to get the default files (LICENSE and README) to push after, I got the error that the remote branch doesn’t exist.

How could this be? I’ve been using git for 20 years!

I was annoyed to realize github had changed the default branch name from ‘master’ to ‘main’. The reason? Because ‘master’ references slavery!

What an atrocity! WTF is this PC culture? In the many years that I have been using git with github, not even once did I think about human slaves and masters.

As I got calm and went about my day and thought about it, I realized what an idiot I had been. …


Image for post
Image for post

In this post we will learn how to create custom property drawers for different types. You can tell Unity Editor how exactly you want the Inspector UI for certain fields look like!

This article is part of a series in which I explain all the techniques for extending the Unity Editor. See the overview post here.

Prerequisite: You need to know C# programming and be familiar with Unity Editor to benefit most from this post. You also need to be familiar with Unity’s IMGUI. I’ll make a tutorial on IMGUI soon. Until then, you can refer to Unity documentation.

There is an accompanying Unity project. I highly recommend downloading it and trying the topics as you read them here. Seeing the examples in action makes them stick to your brain. …

No Such Dev

Software Engineer | Indie Game Developer | Founder of No Such Studio. Follow me to learn how to make video games with Unity. http://www.nosuchstudio.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store