- Home /
Make a scene continue running in background
Is there a way to make a scene run background while another one is active so I can interact by code with the first scene? Thanks.
define "running". A scene is just a container for gameobjects, either scene GOs, or prefab instances. If you load additive, those will stay, so that's about the closest you can get. But when you explain what exactly you're trying to do, we can help better.
What should I say? It must act like a normal active scene but while another one is active. All the gameobjects in the scene must work like normal.
Answer by Harinezumi · Jul 26, 2018 at 02:24 PM
Technically, only one scene can be active at a time (see what that means here)... but I think by "active" you mean loaded. Additive scene loading should do the trick for what you want to achieve: if you additively load a scene, the game objects of that scene will also be present, rendered, updated, physics applied, etc.
Thank you, I searched more about additive scenes and I made it working.