ManualDi.Unity3d
Extensions and usability features of the ManualDi dependency injection library for the Unity3d game engine (by PereViader)
VContainer
The extra fast, minimum code size, GC-free DI (Dependency Injection) library running on Unity Game Engine. (by hadashiA)
ManualDi.Unity3d | VContainer | |
---|---|---|
1 | 3 | |
5 | 1,682 | |
- | - | |
0.0 | 8.7 | |
about 2 years ago | 4 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.
ManualDi.Unity3d
Posts with mentions or reviews of ManualDi.Unity3d.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-01.
-
Dependency injection in unity
Hello everyone! I love unity, it is a great game engine, but I always find myself back to the same architectural hurdles again and again. I used Zenject for several small projects, but I didn't completely like the approach it imposes. In order to improve on what I felt Zenject lacked, decided to make a dependency injection container that fit what I felt was necessary. https://github.com/PereViader/ManualDi.Main (core of the container, just c#) https://github.com/PereViader/ManualDi.Unity3d (extensions to improve usage in unity) As far as I know, dependency injection containers are not a very hot topic around the game dev sphere. Something I think is really not ideal for engineers, as I believe it greatly improves our productivity. What do you think of dependency injection in Unity? What do you think a dependency injection container should have for you to use them in your projects?
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 2023-05-22.
-
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 ManualDi.Unity3d and VContainer you can also consider the following projects:
Reflex - Minimal dependency injection framework for Unity
Extenject - Dependency Injection Framework for Unity Game Engine
com.unity.netcode.gameobjects - Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
Zenject - Dependency Injection Framework for Unity3D
Medicine - Code-driven component injection toolkit for Unity.
di-framework - ↗ A Dependency Injection framework for Unity game engine.
ManualDi.Main - Dependency injection library for C#
GOAP - A multi-threaded GOAP system for Unity