Easy Dependency Injection for Unity and C#

CardboardCore Dependency Injection is a user-friendly package that helps you build a solid foundation in your project by injecting specific dependencies where it's hard to do so. It's not a replacement for SerializeField or static classes, but a way to keep your code dependencies in check. You can easily combine Unity and pure C# code with this package. The package is still in its initial release, and the author is working on improvements and extra features.

This package offers the following features:

  • Free form approach, allowing you to decide the structure of your code
  • Inject C# classes anywhere, including MonoBehaviours in pure C# code
  • Option to make singleton MonoBehaviours without making them static, preserving SerializeFields
  • Option to automatically clear injected objects after all references have been cleared
  • Cross scene support
  • A free logger to keep your editor logs clear and readable

Easy Dependency Injection for Unity and C# - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

Easy Dependency Injection for Unity

Easy Dependency Injection for Unity Thumbnail

C# Toolkit for Unity

C# Toolkit for Unity Thumbnail

Easy State Machine for Unity

Easy State Machine for Unity Thumbnail

Dependency Injection for Unity

Dependency Injection for Unity Thumbnail

Easy Drag and Drop Plugin for Unity

Easy Drag and Drop Plugin for Unity Thumbnail

Easy Drag and Drop Interactions for Unity

Easy Drag and Drop Interactions for Unity Thumbnail