# EditorSceneManager.SceneClosingCallback

> Callbacks of this type which have been added to the EditorSceneManager.sceneClosing event are called just before a Scene is closed.

## Definition

* **Type:** Delegate
* **Namespace:** [UnityEditor.SceneManagement](/engine/6000.7/script-reference/unityeditor/scenemanagement.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public delegate void EditorSceneManager.SceneClosingCallback(Scene scene, bool removingScene)
```
