Skip to content

Version 3.7

Compare
Choose a tag to compare
@svermeulen svermeulen released this 01 Feb 04:06
· 1057 commits to master since this release

NOTE: This version requires Unity 5.3 or greater, since it uses the new SceneManager API and RuntimeInitializeOnLoadMethod

  • Changed to not bother parenting transforms to the CompositionRoot object by default (This is still optional with a checkbox however)
  • Added string parameter to BindGameObjectFactory method to allow specifying the name of an empty GameObject to use for organization
  • Changed FacadeFactory to inherit from IFactory
  • Changed GlobalCompositionRoot to initialize using Unity's new [RuntimeInitializeOnLoadMethod] attribute. This means that you don't need a SceneCompositionRoot in your scene to have the GlobalCompositionRoot initialize
  • Added easier ability to validate specific scenes from the command line outside of Unity
  • Added AutoBindInstaller class and ZenjectAutoBinding attribute to make it easier to add MonoBehaviours that start in the scene to the container
  • Added optional parameter to the [Inject] attribute to specify which container to retrieve from in the case of nested containers
  • Fixed some unity-specific bind commands to play more nicely with interfaces