move from one scene to another unity code example
Example 1: how do you switch scenes unity
using UnityEngine.SceneManagement;
SceneManager.LoadScene('Scene');
Example 2: move to another scene unity
using UnityEngine.SceneManagement;
void Start(){
SceneManager.LoadScene(0/* the scene number*/);
}