Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorSceneManager.MarkAllScenesDirty

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).