docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method LoadSceneAsync

    LoadSceneAsync(UntypedWeakReferenceId, ContentSceneParameters)

    Loads a GameObject based scene.

    Declaration
    [ExcludeFromBurstCompatTesting("References managed engine API and static data")]
    public static Scene LoadSceneAsync(UntypedWeakReferenceId sceneId, ContentSceneParameters loadParams)
    Parameters
    Type Name Description
    UntypedWeakReferenceId sceneId

    The runtime id of the scene.

    ContentSceneParameters loadParams

    Parameters to control how the scene is loaded.

    Returns
    Type Description
    Scene

    The scene that was requested to load. This scene may not be loaded at this point.

    In This Article
    • LoadSceneAsync(UntypedWeakReferenceId, ContentSceneParameters)
    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)