Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UnloadSceneAsyncByNameOrIndex(string, int, bool, UnloadSceneOptions, out bool)

Override for customizing the behavior of the SceneManager.UnloadSceneAsync function.
Read time 1 minuteLast updated 13 days ago

Definition

UnloadSceneAsyncByNameOrIndex(string, int, bool, UnloadSceneOptions, bool)

protected virtual AsyncOperation UnloadSceneAsyncByNameOrIndex(string sceneName, int sceneBuildIndex, bool immediately, UnloadSceneOptions options, out bool outSuccess)

Parameters

sceneName


sceneBuildIndex


immediately



outSuccess

Returns

Type

Description

AsyncOperation