Reflex
Zenject
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.
Reflex
-
Another small hack I use for prototyping
There is also Reflex, a fast but more minimalistic solution. I haven't really heard much about people's experiences using this, so not sure how good it is in practice.
-
I updated reflex readme, what do you think it about it? Constructive feedback is very welcome ;)
Reflex github
-
Reflex now supports SceneContext
Enjoy! https://github.com/gustavopsantos/Reflex
-
I worked a lot on this and would like to share with you
With that, what I call Reflex was born, which I would like to share with the entire community, and if this framework could help you a little bit on your game development, I'll be happy already >.< Repo is open source, and its available at github, also PRs are welcome ;)
Zenject
-
I feel like I'm starting to develop a bad design behaviour. Am I using this because it is actually a good solution no my problem or just it is simple to execute even if not efficient? How do handle these kind of situations and how do you handle storing data you always need
You can try Dependency Injection with Zenject. It’s more complicated than singletons, but has many advantages.
-
Web dev trying to learn game dev, had some questions
I just noticed I forgot to link the resource collection 😅 so here it is: https://procgen.space/resources and while we're on links and I'm on a computer now instead of my phone, here's a link to zenject: https://github.com/modesttree/Zenject
-
Let's talk about the Dependency Injection Pattern! - Discussion
In Unity, there is the Zenject Asset: https://github.com/modesttree/Zenject
-
Best practice to avoid duplicate code
Mhhh I guess you could take a look at a dependency injection framework. https://github.com/modesttree/Zenject
-
It is a good idea to create a manager of managers?
Even better approach is to get rid of singletons with dependency injection. There are several frameworks for this, for example https://github.com/modesttree/Zenject.
-
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?
-
OMG! Design Patterns Are Awesome!!! If You Don’t Use Them - Start!!!
Zenject can be found here, and is a dependency injection (DI), which is also a design pattern.
-
Why use GetComponent() when I could just use [SerializeField] and link something in the editor?
If we are talking about bigger projects, then you cannot put everything into scene that's for sure. Also, creating a prefab for component that you want to inject is not the best option. Therefore, there are different solutions like Zenject.
- Does anyone else coming from a software background struggle with integrating unity into their design patterns? Are there any particularly good resources for how to write clean code with Unity?
-
How to establish proper communication/information links between various objects without too many dependencies or too many singletons?
Look into dependency injection, like Zenject. https://github.com/modesttree/Zenject
What are some alternatives?
di-framework - ↗ A Dependency Injection framework for Unity game engine.
fluid-behavior-tree - Behavior trees for Unity3D projects. Written with a code driven approach on the builder pattern.
VContainer - The extra fast, minimum code size, GC-free DI (Dependency Injection) library running on Unity Game Engine.
ManualDi.Unity3d - Extensions and usability features of the ManualDi dependency injection library for the Unity3d game engine
Entitas - Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
Simple Injector - An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.
fungus - An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
persistence-easy-to-delete - Persistence easy to delete, or just Ped, is a small library to facilitate common persistence handling in the Unity editor.
GameDevTutorials - Houses various game development tutorials and resources.
UnityH4xx - Hacks, tricks and wizardry for Unity to enhance performance or make impossible things possible ...
UnityCore - A collection of essential game systems for Unity 3D. These generic systems can be applied to any Unity project.