Assets/Scripts/Utility/InstantStart.cs (view raw)
1using System.Collections;
2using System.Collections.Generic;
3using UnityEngine;
4using UnityEngine.SceneManagement;
5
6public class InstantStart : MonoBehaviour
7{
8 public string SceneToLoad;
9 // Start is called before the first frame update
10 void Start()
11 {
12 SceneManager.LoadScene(SceneToLoad);
13 }
14}