unity go to next scene code code example Example: how to load the next scene in unity SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);