docs.unity3d.com
Search Results for

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)