Version: 2023.1
public static int sceneCount ;

描述

The current number of Scenes.

Returns the current number Scenes. This includes the Scenes that are currently loading or unloading. For the number of currently loaded Scenes see SceneManager.loadedSceneCount.