Injekko is a dependency injection framework for Unity that avoids reflection entirely. Instead, it leverages Roslyn to analyze your code as you write it and automatically generate strongly-typed resolvers, compiled into a dynamic DLL. This results in fast, safe, and highly efficient injection, ideal for performance-critical environments like game development.
๐ง Work in progress: Injekko is still under active development. Core features are being implemented incrementally as part of a long-term vision.
- ๐ง Zero reflection โ fully based on code generation.
- โก Auto-generated resolvers at compile time using Roslyn.
- ๐ฎ Designed to integrate seamlessly with Unity workflows.
- ๐งฉ Supports a Service Locator pattern with multiple contexts (global, scene, object).
- ๐งช Includes a playground project to test generated bindings.
- ๐ Planned: Future versions aim to be engine-agnostic, making Injekko usable beyond Unity.
