SaveScenes(Scene[])
Save a list of Scenes.
Read time 1 minuteLast updated 19 days ago
Definition
- Type: Method
- Namespace: UnityEditor.SceneManagement
- Assembly: UnityEditor
public static bool SaveScenes(Scene[] scenes)
Parameters
List of Scenes that should be saved.
Returns
Type | Description |
|---|---|
| bool | True if the save succeeded. Otherwise false. |
Remarks
If an unsaved Scene is part of the list of Scenes, a save dialog appears requesting the location the Scene should be saved in.