Documentation

Unity Engine

Unity Engine

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

Override for customizing the behavior of the SceneManager.UnloadSceneAsync function.
Read time 1 minuteLast updated a month 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