docs.unity.cn
    Show / Hide Table of Contents

    Method IsSectionLoaded

    IsSectionLoaded(WorldUnmanaged, Entity)

    Check if a section of a subscene is loaded.

    Declaration
    public static bool IsSectionLoaded(WorldUnmanaged world, Entity sectionEntity)
    Parameters
    Type Name Description
    WorldUnmanaged world

    The World in which the section is loaded.

    Entity sectionEntity

    The section entity representing the scene section. The section entities can be found in the ResolvedSectionEntity buffer on the scene entity.

    Returns
    Type Description
    Boolean

    True if the scene section is loaded.

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