Scriptum/Assets/Scripts/QuitGame.cs

13 lines
244 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class QuitGame : MonoBehaviour
{
public void Exit()
{
Application.Quit();
2022-06-12 17:18:43 +02:00
//UnityEditor.EditorApplication.isPlaying = false;
}
}