Guides
Each guide covers one pillar of Onity and shows how it connects to the others. Read them in this order the first time; later, open the one you need.
- Dependency Injection: the container, bindings, lifetimes, injection sites and build.
- Lifecycle and Scopes: the one lifetime model, scope tokens, lifecycle interfaces, Unity contexts, scene transitions and the scene service.
- Reactive: observables, reactive properties, operators and the Unity and async bridges.
- Events and Messaging: typed messages through the broker,
OnityEventandOnityEventHub, keyed and async channels. - Async with OnityTask: frame waits, timers, cancellation, streams and the DI, reactive and messaging integration.
- Factories and Pooling: runtime-argument factories, prefab pools and pool lifetime.
- Performance and IL2CPP: activation paths, hot-path design and the IL2CPP checklist.
- Refactoring from Existing Architecture: before and after moves from managers, static events, VContainer and Zenject.
Measured results against other libraries live in Comparisons, not in the guides.