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