Question by
Buriburi0119 · Mar 11, 2016 at 02:05 PM ·
editorscenemulti-edit
How do i use EditorSceneManager.GetSceneManagerSetup / RestoreSceneManagerSetup?
Hello, I want to save the hierarchy of multi scene. After I unload one of the two scenes and play the game in editor, the unloaded scene is automatically removed. I want to not remove the scene automatically. Is there a way to change this setting?
And how do I use EditorSceneManager.GetSceneManagerSetup / RestoreSceneManagerSetup? I tried to serialize Scenesetups into a ScriptableObject. But I can't restore Scenesetups after I play the game in editor. I made a simple sample project for testing. Does anyone know what the problem might be?
MySystem
Unity: 5.3.3
OS: Mac OS
link text Simple Sample Project
multiscenetest.zip
(523.3 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612071309im_/https://answers.unity.com/themes/thub/images/avi.jpg)