docs.unity.cn
    Show / Hide Table of Contents

    Method GetSceneStreamingState

    GetSceneStreamingState(WorldUnmanaged, Entity)

    Check the streaming state of a scene that is being loaded.

    Declaration
    public static SceneSystem.SceneStreamingState GetSceneStreamingState(WorldUnmanaged world, Entity entity)
    Parameters
    Type Name Description
    WorldUnmanaged world

    The World in which the scene is loaded.

    Entity entity

    The entity with the loading component data. This is the entity returned by LoadSceneAsync.

    Returns
    Type Description
    SceneSystem.SceneStreamingState

    The streaming state of the loading scene.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023