文档

Unity Engine

Download Unity

Unity Engine

SceneLoadFlags

Contains flags that control the load process for sub-scenes.
阅读时间1 分钟最后更新于 19 天前

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