This version of Unity is unsupported.

EditorSceneManager.SaveOpenScenes

Declaration

public static bool SaveOpenScenes();

Returns

bool Returns true if all open Scenes are successfully saved.

Description

Save all open Scenes.

Note: You must mark your Scenes as dirty to be able to save them. Use EditorSceneManager.MarkAllScenesDirty to do this.