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 |
|---|---|
| BlockOnImport | Disable asynchronous importing, and wait for the SubScene to be fully converted (only relevant in-Editor) and its header loaded. |
| BlockOnStreamIn | Disable asynchronous streaming, SubScene section will be fully loaded during the next update of the streaming system |
| DisableAutoLoad | Prevents 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. |
| NewInstance | Loads a new instance of the subscene |