Version: 2017.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).