unity-dependency-injection

Community

Decouple logic with DI via attributes.

AuthorMuharremTozan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Dependency injection reduces tight coupling by letting components request dependencies without hard references to concrete implementations.

Core Features & Use Cases

  • Attribute-Based Injection: Use [Inject] to declare dependencies and [Provide] to expose providers.
  • Automated Wiring: Dependencies are wired in Awake, ensuring availability before Start.
  • Diagnostics: Logs successful injections and reports missing providers.

Quick Start

Attach a DependencyInjector to a scene, and annotate fields with [Inject] while exposing providers using [Provide].

Dependency Matrix

Required Modules

None required

Components

assets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: unity-dependency-injection
Download link: https://github.com/MuharremTozan/Ohm-Yura/archive/main.zip#unity-dependency-injection

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.