mirror of
https://projects.caleb-brown.dev/UDRI-XRT/UDRIGEEKCup2024.git
synced 2025-01-22 15:18:25 -05:00
16 lines
293 B
C#
16 lines
293 B
C#
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);
|
|
}
|
|
}
|