Documentation

Unity Engine

Unity Engine

isSceneDirty

Is true if the currently open Scene in the editor contains unsaved modifications.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. Use Scene.isDirty instead. Use EditorSceneManager.GetScene API to get each open scene
public static bool isSceneDirty { get; }