文档

Unity Engine

Unity Engine

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

Override for customizing the behavior of the SceneManager.UnloadSceneAsync function.
阅读时间1 分钟最后更新于 1 个月前

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