MolcaFile:
Assets/_Molca/_Core/Runtime/RuntimeManager.cs
Bootstrap
After scene load, static initialization loads Molca Project Settings, instantiates the configured RuntimeManager prefab, callsDontDestroyOnLoad, then runs async InitializeAsync: GlobalSettings load, subsystem discovery, service registration, scene-wide dependency injection, then IsReady.
Using from code
Service API
PreferGetService<T>() / TryGetService<T>(). For RuntimeSubsystem types, GetSubsystem<T>() still resolves the same instance but is labeled legacy in source comments.
Also: RegisterService, BindService, RegisterFactory, InjectDependencies, InjectInto, CreateWithInjection, RunCoroutine, AwaitHandle / AwaitHandle<T> for Addressables.
Related
- Runtime subsystem — child components on the prefab
- Dependency injection —
[Inject]
Unity Editor
