docs.unity.cn
    Show / Hide Table of Contents

    Enum SceneLoadFlags

    Contains flags that control the load process for sub-scenes.

    Namespace: Unity.Entities
    Syntax
    [Flags]
    public enum SceneLoadFlags

    Fields

    Name Description Value
    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.


    1
    BlockOnImport

    Wait for the SubScene to be fully converted (only relevant for Editor and LiveLink) and its header loaded


    2
    BlockOnStreamIn

    Disable asynchronous streaming, SubScene section will be fully loaded during the next update of the streaming system


    4
    LoadAdditive

    [DEPRECATED] Set whether to load additive or not. This only applies to GameObject based scenes, not subscenes.


    8
    NewInstance

    Loads a new instance of the subscene


    16
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023