Version: 2022.1
언어: 한국어

SceneManagerAPI.GetSceneByBuildIndex

매뉴얼로 전환
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.