Rucksack View on Asset Store (opens in new tab)

Package details

Latest version
2.0
Last updated
First released
Unity version
2019.3.5 or later
Package size
248 KB
Files
16
Favorites
15
Views in the past week
7

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Rucksack

by Over One Studio LLC (opens in new tab)

No ratings yet

  • Price drop

Rucksack is a dependency injection solution for Unity 3d.

Discount -100% Previous price $9.99 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 Rucksack, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 4

Rucksack screenshot 1

Rucksack screenshot 1

About this asset

We’ve used various dependency injection frameworks in and out of Unity. All of them have been cumbersome, requiring custom scripts and scene game objects that just obfuscate the problem.

Rucksack resolves the problem created by so many other DI framework by providing an easy to use attribute API. The attributes trigger the use of the GetComponent(s) service locator methods provided by Unity to resolve your game object dependencies for you.

Not only does Rucksack resolve your dependencies, but it has runtime checking to make sure the dependencies you are attempting to resolve don’t go unnoticed. If however you have an optional dependency, you can disable the runtime validation for that dependency.

* If you had Rucksack in your project previously (v1.0) please delete it before importing.

From the publisher's Asset Store listing.

Technical details

  • Complete source code.
  • Inline Field and Property injection.
  • Resolve custom components and built-in Unity components.
  • Legible and easy to use Api.
  • No special Scene game objects or scripts required.
  • Set readonly properties.
  • Dependency injection from self, parent(s), and children.
  • Resolve a single component or a collection of components.
  • Runtime dependency validation.
  • Quick Start and Scripting documentation.

Compatibility

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

As listed on the Asset Store.