unity switch scene through script code example
Example: scene switch unity
SceneManager.LoadScene("SCENE_HERE");
// be sure to import UnityEngine.SceneManagement
SceneManager.LoadScene("SCENE_HERE");
// be sure to import UnityEngine.SceneManagement