protected SearchService.Scene GetSceneByBuildIndex (int buildIndex);

Parámetros

buildIndexBuild index as returned by SceneManagement.SceneManagerApi.GetNumScenesInBuildSettings.

Valor de retorno

Scene A reference to the Scene, if valid. If not, an invalid Scene is returned.

Descripción

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