hadashiA / VContainer

The extra fast, minimum code size, GC-free DI (Dependency Injection) library running on Unity Game Engine.
https://vcontainer.hadashikick.jp
MIT License
1.88k stars 163 forks source link

Add using new faster unity find object method #629

Closed LovorDev closed 6 months ago

LovorDev commented 6 months ago

Under the preprocessor, a new unity method has been added that searches for the first available object. This new function runs 2x faster than the old one. It has been implemented starting from these versions of Unity: 2023.1.0a20, 2022.2.5f1, 2021.3.18f1, 2020.3.45f1. Defines UNITY_2020_4_OR_NEWER || UNITY_2021_4_OR_NEWER are not working at the moment, but they have been added for future use.

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vcontainer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 14, 2024 2:10pm
hadashiA commented 6 months ago

Makes sense, thanks!