unity scene changee code example
Example 1: change scene unity
SceneManager.LoadScene("name of scene", LoadSceneMode.Single);
Example 2: unity scene change
using UnityEngine.SceneManagement;
SceneManager.LoadScene("YourSceneName");
Example 3: change scene unity
SceneManager.LoadScene (sceneBuildIndex:/*Put the number here*/);