Skip to content
Permalink
0344df37ea
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
17 lines (13 sloc) 318 Bytes
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Quit : MonoBehaviour
{
// Update is called once per frame
public void quit()
{
Debug.Log("Quitting game...");
Application.Quit(); //quits the game
}
}