unity move to next scene code example
Example: unity next scene
//For C# in unity
UnityEngine.SceneManagement;
....
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
//For C# in unity
UnityEngine.SceneManagement;
....
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);