SaveOpenScenes()
Save all open Scenes.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: UnityEditor.SceneManagement
- Assembly: UnityEditor
public static bool SaveOpenScenes()
Returns
Type | Description |
|---|---|
| bool | Returns true if all open Scenes are successfully saved. |
Remarks
Note: You must mark your Scenes as dirty to be able to save them. Use EditorSceneManager.MarkAllScenesDirty to do this.