UnloadSceneOptions
Scene unloading options passed to SceneManager.UnloadScene.
阅读时间1 分钟最后更新于 1 个月前
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. |