13 lines
223 B
C#
13 lines
223 B
C#
|
using UnityEngine;
|
|||
|
using UnityEngine.SceneManagement;
|
|||
|
|
|||
|
namespace SlimUI.ModernMenu{
|
|||
|
public class ResetDemo : MonoBehaviour {
|
|||
|
|
|||
|
void Update () {
|
|||
|
if(Input.GetKeyDown("r")){
|
|||
|
SceneManager.LoadScene(0);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|