Documentation

Unity Engine


Unity Engine


UnloadSceneOptions

Scene unloading options passed to SceneManager.UnloadScene.
Read time 1 minuteLast updated a month 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.