docs.unity.cn
    Show / Hide Table of Contents

    Method IsSceneLoaded

    IsSceneLoaded(WorldUnmanaged, Entity)

    Check if a scene or subscene is loaded.

    Declaration
    public static bool IsSceneLoaded(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
    Boolean

    True if the scene is loaded.

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