Light DI | Easy Dependency Injection View on Asset Store (opens in new tab)

Package details

Latest version
1.0.1
Last updated
First released
Unity version
2022.3.39 or later
Package size
30 KB
Files
15
Favorites
4
Views in the past week
4

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Light DI | Easy Dependency Injection

by Heroicsolo (opens in new tab)

No ratings yet

Fly-weighted and easy DI system

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Light DI | Easy Dependency Injection, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 4

Light DI | Easy Dependency Injection screenshot 1

Light DI | Easy Dependency Injection screenshot 1

About this asset

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

From the publisher's Asset Store listing.

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

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2022.3.39f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.