how to change scene through code in unity code example
Example 1: change scene unity
SceneManager.LoadScene (sceneBuildIndex:/*Put the number here*/);
Example 2: how to change scenes in unity
SceneManager.LoadScene(scenename);
SceneManager.LoadScene (sceneBuildIndex:/*Put the number here*/);
SceneManager.LoadScene(scenename);