USyrup - Dependency Injection Framework
Jeffan
$0.0
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
09/13(2022) |
0.0 |
11/16(2024) |
0.0 |
Jump AssetStore
A simple to use dependency injection framework for the Unity Game Engine inspired by Java's Guice and Dagger frameworks.USyrup is a dependency injection framework designed for the Unity Game Engine. It's heavily inspired by Java's Guice/Dagger DI frameworks, co-opting similar such semantics from those libraries. The core problem that USyrup attempts to address is simplicity. Many dependency injection frameworks that currently exist are both incredibly feature rich and even more so complicated. USyrup's simplicity makes DI much more approachable and actually benefit a project instead of creating dependency confusion.Check out USyrup on Github: https://github.com/Jeffan207/usyrupOr through OpenUPM: https://openupm.com/packages/com.cannone.usyrup/USyrup includes many core dependency injection features such as:Inject semantics through an [Inject] attribute.DI modules with provider semantics via the [Provides]/[Named] attributes, similar to Guice/Dagger modules.Constructor, method, and field injection.Singleton support.Lazy injection support.Scene injection for injecting all MonoBehaviours on scene load.On-demand injection for injecting MonoBehaviours at runtime.Support for injecting both MonoBehaviours and regular C# classes.And more!And more! Check out the README for the complete feature list!