Stratasys-450mc-VR/Assets/Scripts/SceneReload.cs

12 lines
291 B
C#
Raw Normal View History

2023-11-07 15:13:12 -05:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SceneReload : MonoBehaviour
{
public void ReloadScene()
{
UnityEngine.SceneManagement.SceneManager.LoadScene(UnityEngine.SceneManagement.SceneManager.GetActiveScene().name);
}
}