Dependency Injection Framework built specifically to target Unity3D by Modest Tree. To date, Zenject has been forked Over 300 times and it's fully Open Sourced.
If I have made one good decision about how we make games at @502Studios, that decision would be to use @Zenject, it has improved our project's code so much that it's hard to go back and deal projects we had before start using it.
Video is up! Basic understanding of OOP needed. This is in Unity & C# but understanding those isn't required in order to get something out of this walk through of Dependency Injection & a couple other architectural patterns:
youtube.com/watch?v=Efs6k_iq…#gamedev#programming@Zenject
Version 7.3.0 / 6.5.0 released. Mostly optimizations and minor bug fixes. Most notable one being "Reflection Baking", which allows you to move most of the costs related to C# reflection from runtime to build time by just toggling a setting
assetstore.unity3d.com/#!/co…
Introductory udemy course for anyone interested: udemy.com/dependency-injecti… Not associated in any way with the instructor - but looks like a well designed course
Fun to code and at the same time discuss how we can use dependency injection in #unity3d#gamedev
Full video at:
Dependency Injection pattern and injection types with Unity3d and Zenject - Part 2 youtu.be/96y7OHDDuJg
Subscribe if you find it helpful ;)
Good justification for why DI will always have a place if you're using an OOP language like C#, no matter how many functional programming practices you try and incorporate into it
Today I get rid of all SINGLETONS in @WesTurn_game and replaced this pattern with dependency injection container called @Zenject ! I hesitated for a while because DI is a bit tricky in #Unity3D but now when it's done i feel like i can breathe again! :D #GameDev#IndieDev#WesTurn