docs.unity.cn
    Show / Hide Table of Contents

    Method IsSceneLoaded

    IsSceneLoaded(Entity)

    Check if a scene or subscene is loaded.

    Declaration
    public bool IsSceneLoaded(Entity entity)
    Parameters
    Type Name Description
    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 © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use