how to get total scenes unity
Code Example - how to get total scenes unity
SceneManager.sceneCountInBuildSettings
SceneManager.sceneCountInBuildSettings