A downloadable tool

Buy Now$9.99 USD or more

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.


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.

Purchase

Buy Now$9.99 USD or more

In order to download this tool you must purchase it at or above the minimum price of $9.99 USD. You will get access to the following files:

Rucksack-v2.0.unitypackage 243 kB

Leave a comment

Log in with itch.io to leave a comment.