ServiceLocator
VContainer-free use
ServiceLocator can be initialized manually even when VContainer is not installed. With VContainer installed, AchEngineScope normally initializes it for you.
API
Example
[Inject] vs ServiceLocator
Use [Inject] for objects created by the VContainer container. Use ServiceLocator from MonoBehaviour, static callbacks, or objects Unity creates directly.
Manual initialization without VContainer
Register a provider or service collection during bootstrap, then call ServiceLocator.Setup(...) before any consumer resolves a service.
Non-VContainer environment
ServiceLocator is a lookup facade, not a lifetime manager. The bootstrap code owns service creation and disposal when no DI container is present.