using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class ChangeScene : MonoBehaviour { public void ChangeScenes(string sceneToLoad) { SceneManager.LoadScene(sceneToLoad); } }