unity-atoms/Examples/Assets/InfinityWaves/UI/RestartCurrentScene.cs
Adam Ramberg e4c489c88e WIP
2020-03-11 21:11:27 +01:00

11 lines
212 B
C#

using UnityEngine;
using UnityEngine.SceneManagement;
public class RestartCurrentScene : MonoBehaviour
{
public void Do()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
}
}