GetNumScenesInBuildSettings()
Override for customizing the behavior of the SceneManager.sceneCountInBuildSettings function.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.SceneManagement
- Assembly: UnityEngine.CoreModule
protected virtual int GetNumScenesInBuildSettings()
Returns
Type | Description |
|---|---|
| int | Number of Scenes handled by GetSceneByBuildIndex. |