Mathijs-Bakker / Extenject

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

Unity 2020.x > Find Inactive GameObjects > GameObject.FindObjectsOfType<ZenjectBinding>() #63

Closed Mathijs-Bakker closed 2 years ago

Mathijs-Bakker 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