Generate child scope via scene or prefab
#
How to make an Additive scene a child#
How to set the parent when loading a sceneYou can parent it by specifying a LifetimeScope
object before loading the scene.
LifetimeScope is a GameObject, so you can also search from the scene.
#
How to add additional registers to the next sceneOften, you may want to add additional Registers to the loaded scenes.
For example, when context is finalized after assets are loaded asynchronously.
In that case you could use:
#
How to pre-set the parent of a scene to sceneLifetimeScope
can be serialized by specifying the type of parent in other scenes.
In base scene.
In additional scene.