mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-23 16:48:23 -05:00
8 lines
195 B
C#
8 lines
195 B
C#
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class RestartCurrentScene : MonoBehaviour
|
|
{
|
|
public void Do() => SceneManager.LoadScene(SceneManager.GetActiveScene().name);
|
|
}
|