13 lines
242 B
C#
13 lines
242 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class QuitGame : MonoBehaviour
|
|
{
|
|
public void Exit()
|
|
{
|
|
Application.Quit();
|
|
UnityEditor.EditorApplication.isPlaying = false;
|
|
}
|
|
}
|