unity change scenes script code example Example: how to change scenes in unity SceneManager.LoadScene(scenename);