Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
1/5
Fly-weighted and easy DI system
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2022.3.39f1
Compatible
Compatible
Compatible
Description

This DI system allows to inject global and scene systems(managers) into each other.


To use this DI system you need only few things:

  1. Add SystemsManager prefab onto your initial scene
  2. Inherit your classes from SystemBase class, if you need to use them from other scripts
  3. Use [Inject] attribute to access these classes
  4. If target class is not inherited from SystemBase class, ISystem interface, or not presented on the same scene where SystemsManager prefab presented – call SystemsManager.InjectSystemsTo(this) in your Start() or Awake() method in class where you want to inject needed systems

This package contains simple example how to use Light DI:

- PlayerController with injected CameraController and InputManager.


Discord | Email

Technical details
  • minimal (but sufficient) Dependency Injection functionality for not complex projects (it allows to inject global and scene systems(managers) into each other)
  • easy to integrate, easy to use
  • perfect solution for hypercasual/hybridcasual and midcore games
  • supports both classes and interfaces
  • can work in applications with multiple scenes

Light DI | Easy Dependency Injection

(not enough ratings)
FREE
License type
File size
35.7 KB
Latest version
1.0
Latest release date
Apr 1, 2025
Original Unity version
2022.3.39
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR
FREE