Enum SceneLoadFlags | Entities | 0.16.0-preview.21
docs.unity.cn
    Show / Hide Table of Contents

    Enum SceneLoadFlags

    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 activateOnlLoad to false.

    1
    BlockOnImport

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

    2
    BlockOnStreamIn

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

    4
    LoadAdditive

    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
    LoadAsGOScene

    Temporary flag to indicate that the scene is a GameObject based scene. Once addressables are in place, this information will be stored there.

    512
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 30 October 2020