MonoBehaviours DO support constructors
Quite often, I come across people who are under the impression that a class which inherits MonoBehaviour cannot or should not define a constructor. If you are one of those people then buckle up. I'm going to dispel this myth once and for all.
Something for me
Dear friend
For the longest time, I was never able to find something to do for myself; for my own sake. My intentions are, and always have been, around what I can do for others.
You're exposing state badly
Every now and then - okay… pretty much every day - I encounter someone who has decided to publicly expose state with fields, and it hurts my core.
Let's talk about that.
Unity lies to you about null
What is the difference between component == null, component is null, and !component?
How I recreated Unity's coroutine system
Early last year, I wrote a blog post which explained how Unity's coroutines work. In my conclusion, I expressed that I underestimated the level of wizardry they involved, so much so that it went far beyond the scope of the article. I figured it was time to perhaps elaborate on that, and show you a glimpse of Unity's game loop and how the coroutine system works in the engine (at least, my interpretation of it.)