using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

public class gameOver : MonoBehaviour
{
    public Button startButton;
    public Button exitButton;

    // Start is called before the first frame update
    void Start()
    {
        startButton.onClick.AddListener(StartTheGame);
        exitButton.onClick.AddListener(ExitTheGame);
    }

    // Update is called once per frame
    void Update()
    {

    }

    public void StartTheGame()
    {

        SceneManager.LoadScene("SampleScene");

    }

    public void ExitTheGame()
    {

        Application.Quit();
    }
}
