Extenject
Dependency Injection Framework for Unity Game Engine (by Mathijs-Bakker)
VContainer
The extra fast, minimum code size, GC-free DI (Dependency Injection) library running on Unity Game Engine. (by hadashiA)
Extenject | VContainer | |
---|---|---|
6 | 4 | |
472 | 1,691 | |
- | - | |
0.0 | 8.7 | |
5 months ago | 9 days ago | |
C# | C# | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Extenject
Posts with mentions or reviews of Extenject.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-25.
-
I've been a Unity Dev for over 10 years. I recently joined this project that has some seasoned Unity vets but the player object looks like this. I know it mostly comes down to design patterns / choices, but does this seems like an excessive amount of components on one object?
I use Extenject in all my projects which is a bliss for these issues.
-
Singleton vs Dependency Injection vs Service Locator vs Scriptable Objects
I'm not sure Extenject handles this but did you check it? Also if you're forgetting to call the extra init function, you can create a MonoInitializeable interface.
-
Overview of clean architecture in Unity?
A lot of your problems can be solved by using a proper dependency injection framework like this: https://github.com/Mathijs-Bakker/Extenject.
-
How I fixed my game's intermittent freezes/pauses
I recommend Extenject (Zenject) if you haven't seen it before - https://github.com/Mathijs-Bakker/Extenject
-
Injecting dependencies into your game development
Well, it should come as no surprise that there are of course also DI frameworks for popular game engines and frameworks. In this post we’ll be taking a look at the dependency injection framework called Extenject for the Unity game engine.
VContainer
Posts with mentions or reviews of VContainer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-05-05.
-
VContainer VS Init(args) Lite - a user suggested alternative
2 projects | 5 May 2024
-
Unity game architecture Part 1
As of 2023, lots of DI frameworks are available for Unity. I picked VContainer as it is still actively maintained and “promotes” itself as 5 to 10 times faster than Zenject. Plus, it integrates really well with popular libraries like UniRx or UniTask.
-
Singleton vs Dependency Injection vs Service Locator vs Scriptable Objects
Hey just incase you weren't aware theres also https://vcontainer.hadashikick.jp/
What are some alternatives?
When comparing Extenject and VContainer you can also consider the following projects:
open-project-1 - Unity Open Project #1: Chop Chop
Reflex - Minimal dependency injection framework for Unity
Medicine - Code-driven component injection toolkit for Unity.
MonoInjection - Replaces Update with a high performance subscription model and allows multi-threaded scripts to "inject" code into the main Unity thread.
di-framework - ↗ A Dependency Injection framework for Unity game engine.
GOAP - A multi-threaded GOAP system for Unity