View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1
- Last updated
- First released
- Unity version
- 2022.3.25 or later
- Package size
- 47 KB
- Files
- 7
- Favorites
- 12
- Views in the past week
- 7
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Jeringa Dependency Injector
Jeringa simplifies dependency injection for scene-based objects.
Price Free
Get it free on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 1
Jeringa Dependency Injector screenshot 1
About this asset
Jeringa provides custom attributes to automatically fetch dependencies from different parts of your scene hierarchy without manually managing references. Simply mark fields in your scripts with attributes like [FromSelf], [FromType], [FromParent], and more, to define where dependencies should come from, and call Injector.Inject() to resolve them.
Key features:
- [FromSelf]: Fetch components from the same GameObject.
- [FromType]: Get components from any object of a specific type.
- [FromParent] and [FromChild]: Retrieve dependencies from parent or child objects in the hierarchy.
- [FromAny]: Access components from anywhere in the scene.
- [FromSibling]: Fetch dependencies from sibling GameObjects.
- Supports MonoBehaviour and non-MonoBehaviour classes (with some limitations).
From the publisher's Asset Store listing.
Technical details
Features: Easily retrieve Components via Attributes
Supported OS: Windows/Linux/MacOS
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.0.23f1 | Compatible | Compatible | Compatible | Compatible |
| 2022.3.25f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.