You can support the project using the following links:
https://www.donationalerts.com/r/game...
https://boosty.to/gamedevlavka
https://paypal.me/gamedevlavka
To fully kick off the project, we need to take care of reference management. For this, we'll use a DI Container. However, instead of blindly using ready-made options like Zenject or VContainer, I decided to make a video about my own DI container to understand how containers work. So, you'll find almost 40 minutes of fascinating explanations with examples of how containers work. This is all happening within the #piggybackingonthegame project, so we'll definitely be using it going forward. It will become even clearer in the next video about the project, if you have any questions. Watch!
Game description in the Developer's Shop Telegram channel:
https://t.me/c/1748704478/7458
Links:
https://t.me/gamedevlavka - Developer's Shop Telegram channel
https://t.me/gamedevtavern - cool chat
/ discord - Discord
https://github.com/vavilichev/Lukomor - Lukomor (MVVM framework for Unity)
__________
0:00 Introduction
1:25 Setting container requirements
4:42 Creating a container
5:44 About container nesting
7:42 List of registered records in a container: what a record is
9:27 Don't forget about tag support
9:52 Registering a singleton factory
10:42 Registering a generator factory
10:52 Writing the registration internals Factory
13:52 Registering an Instance
15:50 Writing a Resolver (Returning a Result from a Container)
19:09 Handling Cyclic Dependencies
22:26 Example: Using a Top-Level Container (Project)
29:19 Example: Using a Nested-Level Container (Scene)
37:35 Conclusion