UnloadSceneOptions
Scene unloading options passed to SceneManager.UnloadScene.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.SceneManagement
- Assembly: UnityEngine.CoreModule
[Flags]public enum UnloadSceneOptions
Fields
Value | Description |
|---|---|
| None | Unload the scene without any special options. |
| UnloadAllEmbeddedSceneObjects | 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. |