Unity GameDev Q&A — What is Dependency Injection?

preview_player
Показать описание


My Favorite Unity Assets 💯⤵️

* Disclosure: These are affiliate links, which means I'll receive a commission if you use them to make a purchase.
Рекомендации по теме
Комментарии
Автор

I have been coming across the subject of dependency injection for years, and never got myself to understand that concept or its usage. You've cleared so much up in so little time, thank you for the great content!

taurdenga
Автор

Fantastic video. Came to this from your Zenject series. Thanks for explaining everything so well!

garethgriffiths
Автор

I've recently started using dependency injection frameworks in the games I make.
I've just touched the surface, but *OH MAN do I like it so far*

Tantandev
Автор

DI was something I always had to scratch my head with and I know you covered a couple of DI demonstrations prior....but I do appreciate taking the extra mile to dumb it down for dummies like me.

QuietSnake-xsvx
Автор

Thank you a lot for all of the free content you provide. You give really clear explanations, it help a lot.

arthurbourdot
Автор

that was good for understanding DI concept. thanked you so much

Loosar
Автор

Ah yes... you were the one who introduced me to Zenject a while ago

alenc.
Автор

monobehaviours have constructors by the way, like any class in c#

oleksandrbrahynets
Автор

supper chanalle. awesome work. there are alot of thinks to learn. thank you for your videos.

uzakufuklar
Автор

So I understand classes handling their own dependencies and dependency injection. What I am still confused about is why you would want to inject your dependency? Why is it beneficial to do this? It seems like a hassle to use an outside source to handle a class's dependency when the class could handle that. Also if a class handles its own dependencies the visibility of the dependency is right there. It would seem as though with dependency injection the fact that the class has a dependency would be hidden from you?

android
Автор

Using Unity isn't really a reason not to know what a constructor is. Sooner or later you NEED to have non-monobehaviour classes.

TheSpacecraftX
Автор

What is the song that you use as the Outro?

joshstubblefield
Автор

As someone with an artistic mind and not a programming mind…idk if your speaking English 😂 but I wish I knew

bumstudios