Unity — Using Debug.Assert for Cleaner Null Checks
~~~ every single time.
Later I switched to using the null-coalescing operator like "??=" to handle it.
But even that code was getting too long.

![](
It turned out to be way more convenient than I expected, so I wanted to document it.
I actually knew Unity supported Assert, but I got so fixated on null handling that I forgot about it. Once I tried it, it was incredibly convenient.
Why did it take me this long to figure this out...