docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReleaseScene

    ReleaseScene(ISceneProvider, AsyncOperationHandle<SceneInstance>)

    Release a scene.

    Declaration
    public AsyncOperationHandle<SceneInstance> ReleaseScene(ISceneProvider sceneProvider, AsyncOperationHandle<SceneInstance> sceneLoadHandle)
    Parameters
    Type Name Description
    ISceneProvider sceneProvider

    The scene provider.

    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 © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 27, 2023