docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method UnloadScene

    UnloadScene(Scene)

    Server Side: Unloads an additively loaded scene. If you want to unload a Single mode loaded scene load another Single scene. When applicable, the AsyncOperation is delivered within the SceneEvent via the OnSceneEvent

    Declaration
    public SceneEventProgressStatus UnloadScene(Scene scene)
    Parameters
    Type Name Description
    Scene scene
    Returns
    Type Description
    SceneEventProgressStatus

    SceneEventProgressStatus (Started means it was successful)

    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)