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