docs.unity.cn
    Show / Hide Table of Contents

    Method GetSceneEntity

    GetSceneEntity(Hash128)

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

    Declaration
    public Entity GetSceneEntity(Hash128 sceneGUID)
    Parameters
    Type Name Description
    Hash128 sceneGUID

    The guid of the scene.

    Returns
    Type Description
    Entity

    The entity for the scene.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 04 August 2022
    Terms of use