Version: 2021.3

SceneManagerAPI.GetNumScenesInBuildSettings

切换到手册
protected int GetNumScenesInBuildSettings ();

返回

int Number of Scenes handled by SceneManagement.SceneManagerApi.GetSceneByBuildIndex.

描述

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