using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class SceneReloader : MonoBehaviour { public string startingSceneName; public void Reload() { SceneManager.LoadScene(startingSceneName); } }