文档

Unity Engine


User Manual

Script Reference

Unity Engine


LoadSceneAsyncByNameOrIndex(string, int, LoadSceneParameters, bool)

Override for customizing the behavior of the SceneManager.LoadScene and SceneManager.LoadSceneAsync functions.
阅读时间1 分钟最后更新于 1 个月前

Definition

protected virtual AsyncOperation LoadSceneAsyncByNameOrIndex(string sceneName, int sceneBuildIndex, LoadSceneParameters parameters, bool mustCompleteNextFrame)

Parameters

sceneName


sceneBuildIndex



mustCompleteNextFrame

Returns

Type

Description

AsyncOperation