Mathijs-Bakker / Extenject

Dependency Injection Framework for Unity Game Engine
MIT License
531 stars 97 forks source link

Replaced Resources.FindObjectsOfTypeAll by FindObjectsOfType #62

Closed ImInfenix closed 2 years ago

ImInfenix commented 2 years ago

As of Unity version 2020.1, it is possible to use FindObjectsOfType(true) to also find inactive objects in the hierarchy This avoid to search additional data we're not interested in, and closes a comment saying "we would like to it this way".

Well now we do.

Change has been tested on Unity 2020.3 LTS and 2021.2 using Mono build

Mathijs-Bakker commented 2 years ago

Closes #63