Version: 5.6
public static bool MarkSceneDirty (SceneManagement.Scene scene);

Parameters

scene The Scene to be marked as modified.

Returns

bool Whether the Scene was successfully marked as dirty.

Description

Mark the specified Scene as modified.

This function marks the specified Scene in the Editor as modified (having unsaved changes).