go to next scene 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);