# UnloadSceneOptions

> Scene unloading options passed to SceneManager.UnloadScene.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.SceneManagement](/engine/6000.3/script-reference/unityengine/scenemanagement.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
[Flags]
public enum UnloadSceneOptions
```

## Fields

| Value                                                                                                                                            | Description                                                                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [None](/engine/6000.3/script-reference/unityengine/scenemanagement/unloadsceneoptions/none.md)                                                   | Unload the scene without any special options.                                                                                                                      |
| [UnloadAllEmbeddedSceneObjects](/engine/6000.3/script-reference/unityengine/scenemanagement/unloadsceneoptions/unloadallembeddedsceneobjects.md) | Unloads all objects that are loaded from the scene's serialized file. Without this flag, only GameObject and Components within the scene's hierarchy are unloaded. |
