unity scene manager load 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);