Overview
🚀 Managers Loader: Simplify Your Project Architecture
Managers Loader is a scene-driven initialization system that transforms chaotic game systems into a fluid, visual workflow. Eliminate fragile singletons and loading order conflicts: take full control over your managers' lifecycle, bye bye race conditions.
Why Choose Managers Loader?
- Intelligent Initialization: Control the exact loading order of your systems through a robust dependency resolution system.
- One-Click Manager Creator: Instantly generate scripts, ScriptableObjects, and prefabs with a dedicated wizard.
- Real-Time Visualization: Use the interactive Status Window with a dependency graph to identify cycles and monitor loading states in Play Mode.
- Scene-Driven Transitions: Trigger manager loading based on specific scene changes (FROM/TO scene pairs).
- Production Ready: Full support for URP, HDRP, and Built-in pipelines with an automatic material converter.
Key Features
- ManagerCategory: Use ScriptableObject-based "tags" to identify systems and declare dependencies.
- LocalManager: An abstract MonoBehaviour base class with a complete loading lifecycle (InitiateLoad, Load, DoneLoad).
- Automatic Validation: Built-in cycle detection and visual warnings in the inspector prevent logic loops and crashes.
- Extensible Workflow: Highly flexible tools that work for both visual-heavy users and those preferring a code-based approach.
- Manager Creator Wizard — Generate new manager scripts + prefabs + categories from the editor
- Event bus (ManagersLoaderHandlerData) — Static events for OnManagerLoaderReady, OnManagerLoaded, OnAllManagersLoaded, OnManagerCategoryLoaded
- DontDestroyOnLoad support — Per-manager and per-loader persistence control
- 68 unit tests (59 EditMode + 9 PlayMode)