sceneCount
The current number of Scenes.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine.SceneManagement
- Assembly: UnityEngine.CoreModule
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.