aboutsummaryrefslogtreecommitdiff
path: root/Assets/Scripts/UI/ExitApplication.cs
blob: b1579a1491e4fb2ab6967e68e21d48378079dd61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*******************************************************************************
*
*    Unicity (Project SimLife): A Sims clone written in Unity C#
*    Copyright (C) 2019 Unicity Development Team
*
*    This software is protected by the copyright and licensing rights held
*    by the Unicity Development Team. (2019)
*
*********************************************************************************/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ExitApplication : MonoBehaviour {
    public void ExitGame() {
        Debug.Log("Game has closed.");
        Application.Quit();
    }
}