ScriptReference/SceneManagement.EditorSceneManager.SaveScene #409
Replies: 1 comment
-
|
Comment by If you want to save a newly created scene, you have to use ".unity" at the end of the path. Scene newScene = EditorSceneManager.NewScene(NewSceneSetup.DefaultGameObjects, NewSceneMode.Single);
EditorSceneManager.SaveScene(newScene, scenePath+"/"+sceneName+".unity", false); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/SceneManagement.EditorSceneManager.SaveScene
https://docs.unity3d.com/ScriptReference/SceneManagement.EditorSceneManager.SaveScene.html
Beta Was this translation helpful? Give feedback.
All reactions