VContainer Dependency Injection
Overview
VContainer is a lightweight, fast DI container for Unity. This skill covers registration patterns, lifecycle management, and common pitfalls that cause crashes.
When to Use
- Setting up dependency injection in Unity
- Creating scoped containers for features/states
- Debugging VContainerException crashes
- Writing testable Unity code
- Managing service lifetimes
Installation
// Package Manager
// Add to manifest.json:
"jp.hadashi
[Description truncada. Veja o README completo no GitHub.]