Rucksack

$9
Publisher Over One Studio LLC
File size 248.36kB
Number of files 16
Latest version 2
Latest release date 2021-11-24 12:24:51
First release date 2020-06-04 08:20:13
Supported Unity versions 2018.4.2 or higher

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.

Top Publisher Assets