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

public class LoadScene : MonoBehaviour
{
    public int sceneID = -1;

    public void LoadTheScene ()
    {
        if (sceneID==-1)
        {
            SceneManager.LoadScene(SceneManager.GetActiveScene().name);
        }
        else
        {
            SceneManager.LoadScene(sceneID);
        }
    }

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