Version: 2018.2
public static void MarkAllScenesDirty ();

Description

Mark all the loaded Scenes as modified.

This function marks all the currently loaded Scenes in the Editor as modified (having unsaved changes).