GetSceneByBuildIndex(int)
Override for customizing the behavior of the SceneManager.GetSceneByBuildIndex function.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.SceneManagement
- Assembly: UnityEngine.CoreModule
protected virtual Scene GetSceneByBuildIndex(int buildIndex)
Parameters
Build index as returned by GetNumScenesInBuildSettings.
Returns
Type | Description |
|---|---|
| Scene | A reference to the Scene, if valid. If not, an invalid Scene is returned. |