how to load next scene in scene index unity code example
Example: unity load next scene
//for unity c#
using UnityEngine.SceneManagement;
.....
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
//for unity c#
using UnityEngine.SceneManagement;
.....
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);