Check out example codes for "unity next scene". It will help you in understanding the concepts better.
Code Example 1
//For C# in unity
UnityEngine.SceneManagement;
....
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
Learn ReactJs, React Native from akashmittal.com