2020-03-11 16:11:27 -04:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.SceneManagement;
|
|
|
|
|
|
|
|
|
|
public class RestartCurrentScene : MonoBehaviour
|
|
|
|
|
{
|
2020-03-15 18:18:29 -04:00
|
|
|
|
public void Do() => SceneManager.LoadScene(SceneManager.GetActiveScene().name);
|
2020-03-11 16:11:27 -04:00
|
|
|
|
}
|