Skip to content
/ Injekko Public

Dependency injection framework for unity with no reflections by using Roslyn

Notifications You must be signed in to change notification settings

Extrys/Injekko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Injekko

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.

Features

  • 🔧 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.

About

Dependency injection framework for unity with no reflections by using Roslyn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages