USyrup is a dependency injection framework designed for Unity. It aims to provide a simple and approachable solution for managing dependencies in your project. Unlike other frameworks, USyrup focuses on ease of use and simplicity, making it easier to benefit from dependency injection without introducing unnecessary complexity.
USyrup is available on OpenUPM: com.cannone.usyrup
USyrup includes the following core features:
- Inject semantics through the [Inject] attribute
- DI modules with provider semantics via the [Provides]/[Named] attributes
- 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!
USyrup - Simple Dependency Injection for Unity - Asset Store





