Version: 2020.3
言語: 日本語
protected SceneManagement.Scene GetSceneByBuildIndex (int buildIndex);

パラメーター

buildIndex Build index as returned by SceneManagement.SceneManagerApi.GetNumScenesInBuildSettings.

戻り値

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

説明

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