- Home /
 
               Question by 
               Sioum_Baguette · Mar 27, 2019 at 08:40 PM · 
                unityeditorbackgroundsave scene  
              
 
              Is there a way to save a scene without opening it ?
Hi !
I'm making an autosave script wich run in editor and I would like to save the active scene in an other folder, without opening it after the save.
To be clear, sceneA is loaded, I save it in an other folder and call it sceneA_backup_27.03.2019, and I would like to stay with the sceneA opened, is it possible ?
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by Sioum_Baguette · Mar 27, 2019 at 10:01 PM
Ok I feel a little bit stupid ... it's just a parameter, if you're in my case, here's the answer: https://docs.unity3d.com/ScriptReference/SceneManagement.EditorSceneManager.SaveScene.html
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                