using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MapSelectorScript : MonoBehaviour { public int scene; public void change_to_track2(){ scene = 2; } public void change_to_track3(){ scene = 3; } public void selectMap(){ SceneManager.LoadScene(scene); } }