docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetSceneValue

    GetSceneValue(UntypedWeakReferenceId)

    The loaded scene value.

    Declaration
    [ExcludeFromBurstCompatTesting("References managed engine API and static data")]
    [Obsolete("This property is no longer valid.  Use the scene returned from LoadAsync.")]
    public static Scene GetSceneValue(UntypedWeakReferenceId sceneId)
    Parameters
    Type Name Description
    UntypedWeakReferenceId sceneId

    The runtime id of the scene.

    Returns
    Type Description
    Scene

    The scene. If the scene is not loaded, the returned scene will be invalid.

    In This Article
    • GetSceneValue(UntypedWeakReferenceId)
    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)