Simpler dependency injection for Unity3D
[Instance]
and [Singleton]
namespace to Syrinj
instead of Syrinj.Attributes
Latest release of Syrinj.
Now supports injection of non-MonoBehaviours! See the readme for usage.
Full changelog:
[Instance]
provider tag added to construct a new object at every injection site.[Singleton]
provider tag added to construct a single shared object for all injection sitesProvider<T>
class added to help create injected objects on the flyFirst release of Syrinj, ready for production!
Check out the repository for more info.