Version: 2023.2

SceneManagerAPI.UnloadSceneAsyncByNameOrIndex

切换到手册
protected AsyncOperation UnloadSceneAsyncByNameOrIndex (string sceneName, int sceneBuildIndex, bool immediately, SceneManagement.UnloadSceneOptions options, out bool outSuccess);

描述

Override for customizing the behavior of the SceneManager.UnloadSceneAsync function.