Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

SceneManager.sceneCount

public static int sceneCount;

Description

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.