Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UnloadSceneOptions

Scene unloading options passed to SceneManager.UnloadScene.
Read time 1 minuteLast updated 13 days ago

Definition

[Flags]public enum UnloadSceneOptions

Fields

Value

Description

NoneUnload the scene without any special options.
UnloadAllEmbeddedSceneObjectsUnloads 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.