docs.unity.cn
    Show / Hide Table of Contents

    Method GetSceneEntity

    GetSceneEntity(WorldUnmanaged, Hash128)

    Find the scene given a guid. This will only return the first matching scene.

    Declaration
    public static Entity GetSceneEntity(WorldUnmanaged world, Hash128 sceneGUID)
    Parameters
    Type Name Description
    WorldUnmanaged world

    The World in which the scene is loaded.

    Hash128 sceneGUID

    The guid of the scene.

    Returns
    Type Description
    Entity

    The entity for the scene.

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