Releases: gustavopsantos/Reflex
3.4.1
Missing scripts would thrown an exception when tried to be injected, blocking all remaining monobehaviours to be injected.
Now, SceneInjector::GetEveryMonoBehaviourAtScene skips missing scripts to avoid that.
3.4.0
Exposes Container method with following signature
public void BindInstanceAs(object instance, Type asType)
3.3.0
Adds MeansImplicitUseAttribute to InjectAttribute stopping annoying rider messages regarding fields never being assigned
3.2.0
Adds default parameter injection mode to Container.Instantiate
MonoInjectionMode.Single ➡️ Inject(instance.GetComponent<MonoBehaviour>)
MonoInjectionMode.Object ➡️ Inject(instance.GetComponents<MonoBehaviour>)
MonoInjectionMode.Recursive ➡️ Inject(instance.GetComponentsInChildren<MonoBehaviour>)
3.1.3
Replaces project injection time
from [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterAssembliesLoaded)]
to [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
Allowing gameobjects to be instantiated at installers being used at ProjectContext, and allowing log viewers to be able to hook to Application.logMessageReceivedThreaded
before injection starts hapenning
3.1.2
Prevents unity injector from being stripped out by using [assembly: AlwaysLinkAssembly]
See more details at https://docs.unity3d.com/ScriptReference/Scripting.AlwaysLinkAssemblyAttribute.html
3.1.1
3.1.0
- Scenes are now injected before awake
- SceneContexts are still non-obligatory, but, scenes without it wont be injected
3.0.0
- Simplifies binding APIs
- Removes non-lazy pre constructed singletons
- Adds debugger window
- Replaces container stack structure by a tree structure (a tree is a bit more messy to control over a stack, but it has more freedom)
2.0.2
- Fixes scene context container disposal