Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


sceneCount

The current number of Scenes.
Read time 1 minuteLast updated 10 days ago

Definition

public static int sceneCount { get; }

Remarks

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.