Skip to content

Releases: gustavopsantos/Reflex

3.4.1

12 Oct 13:28
Compare
Choose a tag to compare

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

12 Oct 12:13
Compare
Choose a tag to compare

Exposes Container method with following signature

public void BindInstanceAs(object instance, Type asType)

3.3.0

30 Sep 10:15
Compare
Choose a tag to compare

Adds MeansImplicitUseAttribute to InjectAttribute stopping annoying rider messages regarding fields never being assigned

3.2.0

26 Sep 15:06
Compare
Choose a tag to compare

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

22 Sep 14:46
Compare
Choose a tag to compare

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

21 Sep 01:37
Compare
Choose a tag to compare

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

20 Sep 14:38
Compare
Choose a tag to compare

3.1.0

20 Sep 10:17
Compare
Choose a tag to compare
  • Scenes are now injected before awake
  • SceneContexts are still non-obligatory, but, scenes without it wont be injected

3.0.0

19 Sep 01:37
a4d5694
Compare
Choose a tag to compare
  • 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

10 Sep 01:39
Compare
Choose a tag to compare
  • Fixes scene context container disposal