Documentation

Unity Engine


Unity Engine


SceneLoadFlags

Contains flags that control the load process for sub-scenes.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Enum
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
[Flags]public enum SceneLoadFlags

Fields

Value

Description

BlockOnImportDisable asynchronous importing, and wait for the SubScene to be fully converted (only relevant in-Editor) and its header loaded.
BlockOnStreamInDisable asynchronous streaming, SubScene section will be fully loaded during the next update of the streaming system
DisableAutoLoadPrevents adding a RequestSceneLoaded to the SubScene section entities when it gets created. If loading a GameObject scene, setting this flag is equivalent to setting activateOnLoad to false.
LoadAdditive[DEPRECATED] Set whether to load additive or not. This only applies to GameObject based scenes, not subscenes.
NewInstanceLoads a new instance of the subscene