docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReleaseScene

    ReleaseScene(ResourceManager, AsyncOperationHandle<SceneInstance>)

    Release a scene.

    Declaration
    AsyncOperationHandle<SceneInstance> ReleaseScene(ResourceManager resourceManager, AsyncOperationHandle<SceneInstance> sceneLoadHandle)
    Parameters
    Type Name Description
    ResourceManager resourceManager

    The resource manager to use for loading dependencies.

    AsyncOperationHandle<SceneInstance> sceneLoadHandle

    The operation handle used to load the scene.

    Returns
    Type Description
    AsyncOperationHandle<SceneInstance>

    An operation handle for the unload.

    In This Article
    Back to top
    Copyright © 2025 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)