Reflecting on Dependency

It’s been a little while since I last updated my D20 project series. So, I want to take a moment to “reflect” on the architecture pattern I had been using for managing dependencies. There is a bit of a play on words there, because I had so much fun with “reflection” in my previous post, that I decided to experiment a bit more on how it could be used for a something that feels like auto-injection.

Continue reading

Attributes & Execution Order

When working in Unity, a lot of times making good use of both Awake and Start can be enough of an “execution order” to handle the initialization of your systems. For example, you can use Awake to make sure that local references are hooked up, then use Start to handle any coordinated or delayed initialization that might need to occur. This lesson is really about what you do when those two entry points are not enough.

Continue reading