UnityGameProjectsCode / NightwatchGame / ButtonCommands.cs
ButtonCommands.cs
Raw
using UnityEngine;
using UnityEngine.SceneManagement;

public class ButtonCommands : MonoBehaviour
{
    public void RestartGame()
    {
        SceneManager.LoadScene(0);
    }

    public void QuitGame()
    {
        Application.Quit();
    }
}